On 01/03/2011 03:10 PM, azakai wrote: > On Jan 2, 5:55 pm, Gerry Reno <gr...@verizon.net> wrote: > >> I tried printing sys.path and here is the output: >> >> ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7/', >> '/usr/local/lib/python2.7/plat-linux2', >> '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', >> '/usr/local/lib/lib-dynload'] >> >> Now, those paths must be on your machine because they are not on my >> client machine. But the interpreter is now running on MY machine. Well >> in a sandbox really. So how is that going to work? >> >> > Yeah, those are the paths on the machine where the binary was compiled > (so, they are the standard paths on ubuntu). > > Anyhow the filesystem can't (and shouldn't) be accessed from inside a > browser page.
Well, the local filesystem could be accessible with the user's permission and this should be an option. Regards, Gerry -- http://mail.python.org/mailman/listinfo/python-list