This is the P2PU Archive. If you want the current site, go to www.p2pu.org!
You haven't posted any discussions yet.
Hello Everyone,
I was wondering if someone might be able to help me. Let me start off by saying I am an absolute newbie to programming, the first time I ever worked out of a GUI was when I did the sign up task. That being said I am a fairly savvy and can normally figure things out on my own. But I have been searching the web for over an hour and can't even come close to figuring this one out and I don't want to fall behind.
I successfully completed exercise 1, after I was done I accidentally closed CMD (I am using Windows 7 OS). When I re-opened CMD and tried to open the ex1.py file I got the below error. I get the same error when trying to open the syllabus, which opened with out a hitch before. It seems from reading a couple other websites where people have had the same error that there might be a problem with the path?? But I couldn't find a way to fix the path (If that is even really the problem.
Does anyone have any suggestions?
Microsoft Windows [Version 6.1.7600]
Thanks!
Scott
Hi Scott,
First, you'll need to make sure that your python install and the ex1.py file are saved in the same directory.
Then navigate to that directory by using the cd\ command
After that if you type "python ex1.py"
Hope that works..
Javier
you missed one line: cd \python. After you have changed the directory to python, then type python ex1.py.
Thank you Amene!!! I knew it was something simple like that. I was up another 2 hours last night trying to figure it out and in doing so I messed my system up a little, and than fixed it. I really need to get another PC to practice from or virtualize this one and throw linux on it, this is my work PC (I work from home). I was afraid I would be computerless at one point today! But I don't regret it last night I learned a lot. I was determined to get it working again, I would have figured out the original issue if I had more time!
So far I am loving programming!
thanks!
Scott
Yeah the biggest thing from a couple of my buddies who program on the side of their dayjob said when you start programming the most common problem that causes errors is making sure you are in the right directory and all the files you need are in the right directory. So anytime I get an error thats the first thing they said to check cuz most of the time for newbs like myself and a couple ppl in this class thats gonna be the mistake.
Hi all,
Who tried to use drpyhton?