'Import sys' succeeds in C++ embedded code, but module is not fully visible
ivan.illarionov at gmail.com
Wed Jan 14 17:37:28 CET 2009
On Jan 14, 1:49 pm, Ben Sizer <kylo... at gmail.com> wrote:
> No, I don't want to do anything with sys.path apart from see it. I
> just wanted my original question answered, not a guess at my intent
> and a solution for something I'm not doing. ;) Thanks though!
> Again - why can I not reference sys from within the function?
Ah, sorry for wrong guess.
I would try to use ourNamespace_ dict for
both globals and locals in PyRun_String call.
More information about the Python-list