Problem with JPython!
Remco Gerlich
scarblac-spamtrap at pino.selwerd.nl
Thu Aug 31 08:13:00 EDT 2000
ARG3000 wrote in comp.lang.python:
> Is there any easy way to get a string back from exec besides redirecting
> stdout?
You can set a variable in a block of code, for instance.
exec "a = 'Some string'"
What do you want to do exactly? I have a feeling you're not doing the
most logical thing.
--
Remco Gerlich, scarblac at pino.selwerd.nl
This is no way to be
Man ought to be free -- Ted Bundy
That man should be me
More information about the Python-list
mailing list