I'm having a slight problem with pre-compiling some files for distribution that I'm not sure where to even look for.<br><br>An excerpt from an output:<br><br>    C:\mother\Python24\core\application\sysconfig>python -m compileall .<br>
    Listing . ...<br>    Compiling .\BulkListClass.py ...<br>    Sorry: TypeError: ('compile() expected string without null bytes',)<br>    Compiling .\BulkUserImporter.py ...<br><br>The BulkListClass is then not creating a PYC.<br>
<br>Yet, if I:<br><br>    C:\mother\Python24\core\application\sysconfig>python<br>    Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32<br>    Type "help", "copyright", "credits" or "license" for more information.<br>
    >>> import BulkListClass<br><br>It imports the module fine and made the PYC file.<br><br>I'm not sure why compileall is failing to compile that file, yet Python can import it to do so.<br><br>Any suggestions for how to debug this?<br>
<br>This is Python 2.4.3 on Windows Vista. <br><br>Thanks.<br><br>--S<br>