Starting to learn Python in Google's Python Class - good idea?
In light of the news about the python team at google
I thought I just sucked at learning python, but it turned out the Coursera Google Python course just sucks.
Why did Google choose Python?
Videos
Hello! I'm an absolute beginner to programming, and thought I could start with the Goolge course on Python.
I've downloaded the zip with exercises, downloaded and installed Python and Notepad++, managed to set up Notepad as per the instructions, but I'm already stuck at the very beginning:
I'm supposed to run the following: C:\google-python-exercises> python hello.py
So, my first attempts were the following:
C:\google-python-exercises> python hello.py File "<stdin>", line 1 C:\google-python-exercises> python hello.py ^ SyntaxError: unexpected character after line continuation character
I've tried danielroseman's suggestion, and got the following:
python hello.py File "<stdin>", line 1 python hello.py ^ SyntaxError: invalid syntax
I've also tried kyber's suggestion, and this is the result:
python hello.py
File "<stdin>", line 1 python hello.py IndentationError: unexpected indent
And Python is supposed to print "Hello World", but I keep getting all kinds of errors. With the "unexpected character after line continuation charcter", I've figured it's because of backslash and the fact that is should be used to divide longer lines of code. I'm not sure what to do about the "unexpected indent". I've been running in circles and going crazy all evening :/ Is the course outdated or something? Was something new or different introduced in Py 3.12? If backslash is used to divide longer code, why use it here? What am I doing wrong? Is there any way around this?
Is Google's Python Class even a good idea to start with here?
Thanks!