Checking out Python in W3 school to get my feet wet through the following link tutorial: https://www.w3schools.com/python/python_getstarted.asp
Sadly as I’m following along, I already seem to be having error:
___________________________
Python 3.13.1 (tags/v3.13.1:0671451) [MSC v.1942 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> print(“Hello, World!”)
Hello, World!
>>> C:UsersYour Name>python helloworld.py
File “<python-input-1>”, line 1
C:UsersYour Name>python helloworld.py
^
SyntaxError: unexpected character after line continuation character
>>> C:UsersYour Name>python helloworld.py
File “<python-input-2>”, line 1
C:UsersYour Name>python helloworld.py
^
SyntaxError: unexpected character after line continuation character
>>>
>>>
______________________________
If I’m following this right, this should allow me to name the .py (python) file and save it. However, I seem to get a syntax error. Appreciate any guidance on what I’m doing wrong, and let me know if there are better alternative than W3 School.
submitted by /u/kelsoul
[link] [comments]
r/learnpython Checking out Python in W3 school to get my feet wet through the following link tutorial: https://www.w3schools.com/python/python_getstarted.asp Sadly as I’m following along, I already seem to be having error: ___________________________ Python 3.13.1 (tags/v3.13.1:0671451) [MSC v.1942 64 bit (AMD64)] on win32 Type “help”, “copyright”, “credits” or “license” for more information. >>> print(“Hello, World!”) Hello, World! >>> C:UsersYour Name>python helloworld.py File “<python-input-1>”, line 1 C:UsersYour Name>python helloworld.py ^ SyntaxError: unexpected character after line continuation character >>> C:UsersYour Name>python helloworld.py File “<python-input-2>”, line 1 C:UsersYour Name>python helloworld.py ^ SyntaxError: unexpected character after line continuation character >>> >>> ______________________________ If I’m following this right, this should allow me to name the .py (python) file and save it. However, I seem to get a syntax error. Appreciate any guidance on what I’m doing wrong, and let me know if there are better alternative than W3 School. submitted by /u/kelsoul [link] [comments]
Checking out Python in W3 school to get my feet wet through the following link tutorial: https://www.w3schools.com/python/python_getstarted.asp
Sadly as I’m following along, I already seem to be having error:
___________________________
Python 3.13.1 (tags/v3.13.1:0671451) [MSC v.1942 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> print(“Hello, World!”)
Hello, World!
>>> C:UsersYour Name>python helloworld.py
File “<python-input-1>”, line 1
C:UsersYour Name>python helloworld.py
^
SyntaxError: unexpected character after line continuation character
>>> C:UsersYour Name>python helloworld.py
File “<python-input-2>”, line 1
C:UsersYour Name>python helloworld.py
^
SyntaxError: unexpected character after line continuation character
>>>
>>>
______________________________
If I’m following this right, this should allow me to name the .py (python) file and save it. However, I seem to get a syntax error. Appreciate any guidance on what I’m doing wrong, and let me know if there are better alternative than W3 School.
submitted by /u/kelsoul
[link] [comments]