Executing python scripts from a python program.

"Hedlund, Peter" <[email protected]> Mon, 3 Dec 2007 09:46:05 -0600
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Greetings,
  I am in need of some assistance on this one.
I want the user to be able to edit a python script file and allow that script to be run from within my main python program.
Now before everyone jumps on the execfile bandwagon I need to clarify some things.

The main python program has several other python scripts in the project.
I am using pythoncard for my user ide.
The user script will need to call functions already defined in the main.py and pass information back to main.py.

Main program opens a serial port to a device
User script will send commands to the device  by way of functions in main

Any ideas on this would be appreciated.

Peter Hedlund
Senior Software Engineer
Direct: 847-406-5271
[email protected]<mailto:[email protected]>

TECNOVA
1486 St. Paul Avenue
Gurnee, IL 60031 USA
Phone: 847-662-6260
www.tecnova.com<http://www.tecnova.com/>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users