This is my first time programming anything and i'm reading the learning python book. I'm stuck at step one and very annoyed. I'm trying to run just a simple print saved program i wrote in notebook. For some reason i can't open it, ive gotten to the point where i have >>> waiting for my command but i try typing C:\python25\python script.py and script.py and even just python script.py and a bunch of other combinations. I'm on a windows vista. What do i type exactly to open up a script. It's saying it's not defined
thanks Jessie
syris
0
Newbie Poster
Recommended Answers
Jump to PostIf you've written the script with IDLE, the best (and easiest) way to run it is by pressing F5 inside IDLE (once you've got the file open).
If you've written it with some other editor, then you need to go into Window's vista command prompt, navigate to the folder …
Jump to PostNot exactly.
The easiest way is to start IDLE (Python GUI). On the file menu, click open to load your script, and then press F5 to run it.
If you want to write new scripts with it, start the python gui. On the file menu choose New Window …
All 7 Replies
scru
909
Posting Virtuoso
Featured Poster
syris
0
Newbie Poster
scru
909
Posting Virtuoso
Featured Poster
syris
0
Newbie Poster
scru
909
Posting Virtuoso
Featured Poster
syris
0
Newbie Poster
Stefano Mtangoo
455
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.