On Feb 3, 1:37 pm, Ray <rayky...@gmail.com> wrote: > I'll enclose the top-level commands with the if statement above...its > just a minor change, but it seems unavoidable. > > Thanks again! > > Ray
If you really don't want the file to be changed, you could (depends on the module) use the module as a subprocess. The ideal solution is for the module to have an if __name__ == '__main__': to determine whether it is being used as a module or a standalone program though. -- http://mail.python.org/mailman/listinfo/python-list