importing a module

phil hunt philh at
Mon Nov 12 15:51:36 CET 2001

I have a project that is split into 2 directories, one for the 
main source, and the other for testing. I have 2 files:


My test program needs to import the module. At the moment
I am doing this using this code (in

   import utility

This works but looks a bit inelegant. Is there a better way 
of doing this?

*** Philip Hunt *** philh at ***

More information about the Python-list mailing list