|
|||
Command Prompt in Python
Hi,
I have a windows 7 computer, and I am having trouble getting the command prompt in windows to work with python. Whenever I try to run a script file in the command prompt, I get the "No such file or directory error." [Errno2] Does someone know how to fix this for a relative beginner? I am stuck on page 15 of Programming Python by Mark Lutz. Apparently you're supposed to see \PP4E\Preview> in the first line of the prompt. 3 Replies
Hi,
It sounds like you're not in the correct directory when you're trying to run these commands. You need to move into the directory where the files are, and then your command prompt will change to show the location you're in. I'm on a Mac, so it's a little different for me (the slashes would be backslashes for you, and the location is probably different), but for me, I needed to run: cd ~/Downloads/PP4E-Examples-1.3.1/Examples/PP4E/Preview/ If you're still having trouble with this, please contact our book technical support group at [email protected]. Hope that helps! Rachel |
|||
|