cannot run python script file using windows prompt
问题 I am trying to run a python script from the windows command prompt, but I receive the following error message: "python: can't open file 'pacman.py': [Errno 2] No such file or directory" when I try the command: c:\Program Files (x86)\Python27>python pacman.py This particular python script file pacman.py is located in the following folder: C:\Users\Chris\Dropbox\edX\CS188x\search So I added this folder to PYTHONPATH and confirmed that is was there using the following code: >>> import sys >>>