User Profile

Collapse

Profile Sidebar

Collapse
pycircle
pycircle
Last Activity: Sep 22 '06, 03:53 PM
Joined: Sep 16 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I found a partial answer from the built-in function,
    execfile('Coope rPair.py', globals() )

    This does execute in a new shell, which behaviour I do want sometimes,

    but my shell is already open when I respond to an input prompt, and I want the file to execute in this same shell, so that all variables will still be defined....
    See more | Go to post

    Leave a comment:


  • Running Win XP application programs.or Python .py file from script

    From a python module, I want to run any.py module, to open it in the shell, just like if I were in IDLE editor and selecting EDIT / Run Module.

    I have tried a lot of things, including importing a python.py file
    such as, CooperPairs.py, which only has print statements.
    This module is not a function, and should not be compiled.

    import CooperPairs
    ( Runs one time).

    Also, I have used...
    See more | Go to post
No activity results to display
Show More
Working...