Getting output from embedded python program

Roberto rob02omni at vodafone.it
Wed Apr 21 04:45:53 EDT 2004


Hi Jeff,
Thanks for the reply!

> PyRun_File expects dicts for both the third and fourth parameters.

I've looked in python manuals but i've missed out this, thanks for
pointing me in the right direction.

I will try with dicts and post result later.

Thanks Again,
Roberto


Jeff Epler <jepler at unpythonic.net> wrote in message news:<mailman.810.1082487073.20120.python-list at python.org>...
> PyRun_File expects dicts for both the third and fourth parameters.
> The code you wrote appears to use one module object and one dict object,
> but in the (incomplete, non-runnable) code you included, you didn't even
> initialize evalModule/evalDict until after the PyRun_File call, nor did
> you check for failures along the way.
> 
> Jeff



More information about the Python-list mailing list