On Jan 14, 1:49 pm, Ben Sizer <kylo...@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.

--
Ivan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to