eval will seriously limit you in this instance because eval only works on
expressions, not statements. (Assignment won't work, for example). You can
use exec though. (in which case, you wouldn't necessarily want a result
back)
just fyi
> text =my_get_pythoncommand() # text is the line of tex
"Garry Willgoose" <[EMAIL PROTECTED]> wrote
> packages in the first place). Plan A was that I'd somehow like to
> use
> the python interpreter for this but I can't find any obvious way to
> do this.
Take a look at the IDLE source cocde. IDLE's interactive shell is
essentially what you want - a
I'm writing a platform independent environmental modelling framework
where I provide a GUI (in Tkinter) to a range of env modeling tools
in a number of modules written in fortran, C and Python. It all works
well but for generality I'd like to provide the user with a command
line where he ca