Computer Hope
Software => Computer programming => Topic started by: hfsoon on May 20, 2020, 02:57:17 AM
-
Hi expert,
I was starting to pick up Python as beginner. Follow the instruction in Computer Hope tutorial accordingly.
Version of Python use is 3.8.3
The interface return a message below:
>>> py read.py
File "<stdin>", line 1
py read.py
^
SyntaxError: invalid syntax
May anyone know what mistake I made on the line above ?
Appreciate your time to the matter
Regard
A snapshot of error message provided in attachment
-
Hi all,
I think I got the answer, the command actually can be executed directly from cmd prompt.
Thus it is working fine.
Thank you