Import without executing module

Stephen Hansen apt.shansen at
Mon Feb 2 02:36:53 EST 2009

> Maybe he can wrap the things he dont need inside
> if __name__ == '__main__':
> check.
> --

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.


More information about the Python-list mailing list