Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Trouble with executing Python code from command prompt

Good afternoon!

I am new to Python and have a very simple problem, but I can’t figure it out.

I created a simple file called Hello.py that basically just prints "Hello".

When I am at my command prompt “c:\python34\scripts>” and I type “python Hello.py”, I get the following error. See attached.

My error message: "c:\python34\python.exe: can't open file 'Hello.py': [Errno 2] No such file or directory”

What could be wrong with my setups? Any help would be greatly appreciated!

Dan
1 person has
this question
+1
Reply