how to run python file from the python IDLE editor

r rt8396 at gmail.com
Fri Oct 31 13:28:43 EDT 2008


On Oct 31, 1:33 am, "Seid Mohammed" <seidy... at gmail.com> wrote:
> Greetins all
> 1. I can easily run python file from a comand prompt just typing
> "python filname.py".
> How can I do this from the python IDLE shell
> 2. How to create EXE in python.
> thanks all for making me to be more copnfortable with python
> Seid M
>
> --
> "RABI ZIDNI ILMA"

normally you open the file in IDLE and "RUN" it. not call it like from
CMD
-or-
use execfile() funtion:
>>> execfile(filename, globals, locals)





More information about the Python-list mailing list