please help me!!

Peter Hansen peter at engcorp.com
Thu Oct 23 10:38:10 EDT 2003


danissim wrote:
> 
> help!!
> hi people
> could you to tell me how can i execute a program after i wrote the code???

If you program is saved in a file named "mycode.py", you would execute the
following command at a command prompt: "python mycode.py"

This will work only if your computer is properly configured.  You need
the folder containing the Python executable (e.g. python.exe on Windows) 
to be in your PATH environment variable, for example.

You haven't included enough information for anyone to help more.  What
platform/operating system are you using.  How do you write your code?
Using an IDE, such as IDLE or PythonWin, or using another text editor?
Have you installed Python yet?

Also, have you done the online tutorial yet?  It gives useful background
that might help you out.

See http://www.python.org/doc/current/tut/tut.html

-Peter




More information about the Python-list mailing list