I'm trying to use distutils to install a collection of modules in
/usr/local/lib/python2.7/site-packages. My distribution (Fedora 15)
doesn't include any /usr/local paths in sys.path, so the import fails
when running the program. The distutils documentation suggests adding
a $NAME.pth file to an ex
mhearne808[insert-at-sign-here]gmail[insert-dot-here]com wrote:
> I have an application where I would like to append to the python path
> dynamically. Below is a test script I wrote. Here's what I thought
> would happen:
>
> 1) I run this script in a folder that is NOT already in PYTHONPATH
> 2
I have an application where I would like to append to the python path
dynamically. Below is a test script I wrote. Here's what I thought
would happen:
1) I run this script in a folder that is NOT already in PYTHONPATH
2) The script creates a subfolder called foo.
3) The script creates a file cal