En Fri, 18 May 2007 20:49:33 -0300, Mitko Haralanov <[EMAIL PROTECTED]>
escribió:
> On 18 May 2007 15:51:40 -0700
> ici <[EMAIL PROTECTED]> wrote:
>
>> exec it :)
>
> Thank you! That works when I compile/exec it in the main body of the
> program. However, when I try to do that in a separate modu
On 18 May 2007 15:51:40 -0700
ici <[EMAIL PROTECTED]> wrote:
> exec it :)
Thank you! That works when I compile/exec it in the main body of the
program. However, when I try to do that in a separate module it
doesn't. For example:
Module Foo:
import compiler
class Foo:
def __init__ (self)
On May 19, 12:52 am, Mitko Haralanov <[EMAIL PROTECTED]> wrote:
> For various reason, what I need to do is be able to send some Python
> code (mostly entire functions in the form of a string) to a remote
> server (written in Python), have that server compile the code and
> insert it in the local na
For various reason, what I need to do is be able to send some Python
code (mostly entire functions in the form of a string) to a remote
server (written in Python), have that server compile the code and
insert it in the local namespace so it is available to be called at a
later time.
I have gotten