r/PythonLearning • u/Turbulent_Photo1840 • Aug 09 '25
Syntax Error Help?
Followed along on the first video on YouTube with Corey Schafer. I don’t know what I’m doing wrong. I added the code in Idle and I keep getting this. Sorry for ignorance, I have no scripting background at all
0
Upvotes
3
u/cgoldberg Aug 10 '25
You are at a Python interpreter prompt typing arbitrary shell commands. Either type some Python, or exit the prompt (ctrl-d) and run shell commands from a shell.
Also note, some of the commands (--version) are just wrong and won't work anywhere.