
Oct. 13, 2004
9:57 a.m.
Thomas Heller wrote:
To be honest, I'm against code in the core that depends on whether pywin32 is installed or not.
does py2exe support "if 0" blocks?
py2exe uses modulefinder to scan the byte code of compiled modules, and Python doesn't generate code for 'if 0' blocks, so, yes.
just one more question: is there a specific problem with win32all? if this is a general problem, how do you deal with other optional modules in the standard library (e.g. _xmlrpclib) ? </F>