Rob Cowie wrote: > So to be clear, if a .py module is in the same directory as my python > cgi script, I can import it thus 'import XXX.py'?
Not quite. If you had a XXX.py, XXX.pyc, and/or XXX.pyo in the same directory as your Python cgi script, you'd import it by issuing: import XXX -- Paul McNett http://paulmcnett.com -- http://mail.python.org/mailman/listinfo/python-list