title: How to execute/call on a .py file in command prompt?
body: <p>I have written a .py file using Eclipse. I want to run that file in command prompt. How do I go about that? I'm running it on Windows.</p>
  
  <p>I tried
      python D:\Python Work/class/src/hello.py
  The error I received was python: can't open file 'D:\Python':[Errno 2] No such file or directory. Also 'D:\Python' is not the entire address that I had specified. </p>
  
  <p>Python was already been added to the PATH. I tried doing cd[file directory] and then python file.py but that gave me the same error</p>
  
  <p>Thanks</p>