You could use my includer script. http://www.voidspace.org.uk/python/recipebook.shtml#includer
It effectively adds an include direct to python scripts. ##include module.py from module import * You then run ``includer.py infilename outfilename`` This replaces the ``##include ..`` with the source of the included module and *removes* the import statement. This makes it possible to maintain modules separately, but distribute as a single script. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list