You can use the sys module in Python to access the sys.path variable, which contains a list of directories that Python looks in for modules to import.
In Windows, you can add to the PYTHONPATH environment variable to make sure that Python can find your modules and packages.