how to run python file from the python IDLE editor

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Seid Mohammed

    how to run python file from the python IDLE editor

    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"
  • r

    #2
    Re: how to run python file from the python IDLE editor

    On Oct 31, 1:33 am, "Seid Mohammed" <seidy...@gmail .comwrote:
    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(file name, globals, locals)

    Comment

    Working...