Import without executing module

Stephen Hansen apt.shansen at gmail.com
Mon Feb 2 08:36:53 CET 2009


> Maybe he can wrap the things he dont need inside
> if __name__ == '__main__':
> check.
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Yeah but he said he doesn't want to modify the file itself-- if he can
modify the file this can all go away readily, yes.

--S



More information about the Python-list mailing list