FAQ
In article <mailman.69.1066987239.702.python-list at python.org>,
Eric Wichterich wrote:
Hello Pythonistas,

I am trying to get certain (self-written) libraries imported into my
scripts using statements like

"from library import function.py".

But they are not being found.

I think that the pythonpath-variable must be expanded to the location
to this libraries.

But, I can't find any usable information using Google on how to set up
the pythonpath properly.
I don't even know where to look for the pythonpath-variable?

It would be great if anyone could help me out on this?

Thanks,
Eric
I simply placed this in my start-up script and it works fine:

setenv PYTHONPATH /Users/Me/Documents/Python/MyModules

OS 10.2.8

J.S.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedOct 24, '03 at 9:20a
activeOct 24, '03 at 9:46p
posts5
users4
websitepython.org

People

Translate

site design / logo © 2022 Grokbase