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

Martin v. Loewis martin at
Wed Aug 7 21:36:38 CEST 2002

Azratax <azrataxnospam at> 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.


More information about the Python-list mailing list