Simple question: how to tell IDLE where to look for a module?

Martin v. Loewis martin at v.loewis.de
Wed Aug 7 15:36:38 EDT 2002


Azratax <azrataxnospam at aznt.com> writes:

> Using the windows version of python, how do i tell it where to look for a 
> module? 

The easiest way is to set the PYTHONPATH environment variable, to
include the directory that has your source code.

If you already run IDLE, you can also append to sys.path.

HTH,
Martin




More information about the Python-list mailing list