Jack Kamm <jackk...@gmail.com> writes: > You need to make sure your module is either in the working directory you > started the Python session in, or in your PYTHONPATH, for example by > adjusting os.env["PYTHONPATH"] before attempting to import the module.
Sorry, this was incorrect, you need to set PYTHONPATH before starting Python. The correct way to do it from within Python is to use sys.path, as John points out.