On Jan 14, 1:55 am, Ivan Illarionov <ivan.illario...@gmail.com> wrote: > Ben Sizer <kylo...@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 -- http://mail.python.org/mailman/listinfo/python-list