I’m working with a web developer tutor and for my first assignment I was asked to write “hello
world” in notepad and save it as a Python document (helloworld.py). I wrote the command print(“hello world”) and saved it as helloworld.py and I can’t open up the document for some reason. Whenever I right click on it and try to open it up in Python it just pulls up a black screen and then it disappears. My tutor says I should be able to figure it out myself, but I’m having trouble trying to figure out why it is doing that. Does anybody know why it is doing this?
I wrote the command print(“hello world”) in notepad and saved it as helloworld.py and it saved as a Python document. The only issue is it won’t open as a Python document and I’m not sure why.
Casey Brice is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.