'Import sys' succeeds in C++ embedded code, but module is not fully visible

Ben Sizer kylotan at gmail.com
Wed Jan 14 11:49:57 CET 2009

On Jan 14, 1:55 am, Ivan Illarionov <ivan.illario... at gmail.com> wrote:
> Ben Sizer <kylo... at gmail.com> wrote:
> > What am I doing wrong?
> What are you trying to achieve?
> If you want to modify sys.path I suggest using Python/C API directly:

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?

Ben Sizer

More information about the Python-list mailing list