<DIV>ok, thanks! that helps.&nbsp; I have an application that reads a data file, crunches some numbers, and&nbsp;spits out some graphs.&nbsp; In addition to this&nbsp;I would also like users to be able to write small python scripts to operate on the data that is available within the program. I suppose this could be accomplished by simply reading a text input and sending off the command to the command module and then returning the result to the user?? Is this feasible? </DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for the help!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jeff<BR><BR><B><I>Danny Yoo &lt;dyoo@hkn.eecs.berkeley.edu&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR><BR>On Wed, 1 Jun 2005, Jeff Peery wrote:<BR><BR>&gt; hello, is it possible to add something like the python IDLE into another<BR>&gt; program<BR><BR>Hi Jeff,<BR><BR>Getting IDLE to work within wxPython is technically possible, but probably<BR>a little tricky, since it'll involve getting the GUI event loops to<BR>cooperate.<BR><BR>I believe it is doable --- there's code in the Twisted Python project, for<BR>example, that allows the Tkinter event loop to integrate into Twisted's<BR>event loop. That being said, this might be overkill for what you're<BR>trying to do.<BR><BR><BR><BR>&gt; say if I wanted to simply run scripts from within a wxPython program?<BR>&gt; Could someone point me to the correct reference? thanks.<BR><BR>Hmmm... do you necessarily have to have those scripts run through IDLE<BR>then? What kind of scripts are you trying to run through wxPython?<BR>Would something
 like the 'commands' module be useful for you?<BR><BR>http://www.python.org/doc/lib/module-commands.html<BR><BR><BR>Best of wishes to you!<BR><BR>_______________________________________________<BR>Tutor maillist - Tutor@python.org<BR>http://mail.python.org/mailman/listinfo/tutor<BR></BLOCKQUOTE>