[Tutor] How to run a script file
Kent Johnson
kent37 at tds.net
Wed Jan 5 05:26:06 CET 2005
You might want to try IDLE. You can open your file in an editing window and run it from there. I
don't know how to start IDLE on Linux though...you need to run Lib/idlelib/idle.pyw
Kent
Bernard Lebel wrote:
> Hi,
>
> Sorry if I missed something obvious, but how do I execute a python
> script file in the interpreter? I have "Using the Python Interpreter" in
> the Python tutorial but not much is said...
>
> (this might be a lame quesiton but so far I always used either the
> PythonWin interpreter wich has the Import function, or I ran Python code
> in an application. Now I'm on Linux so I have to learn the hard way!)
>
>
> Thanks
> Bernard
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list