r/PythonLearning • • Aug 09 '25

Syntax Error Help?

Post image

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

5 comments sorted by

View all comments

1

u/[deleted] Aug 09 '25

[removed] — view removed comment

1

u/Turbulent_Photo1840 Aug 09 '25

The black screen is the command prompt?

1

u/[deleted] Aug 09 '25

Yes i see you use windows. Press Win+R then type cmd.exe(if the run namespace is empty). Then you are in the right place. Only use the Python Shell >>> prompt for actual Python code, not for terminal commands.