Re: Problem using compileall

2009-02-03 Thread Stephen Hansen
> Try this to discover whether the file actually contains a NUL byte or not: > > f = open("BulkListClass.py","rb") > src = f.read() > i = src.index('\0') > print "found NUL at index", i > print repr(src[i-20:i+20]) Doh. It did. How the heck did that get there! I hadn't thought to actually look --

Re: Problem using compileall

2009-02-03 Thread Gabriel Genellina
En Tue, 03 Feb 2009 05:53:06 -0200, Stephen Hansen escribió: I'm having a slight problem with pre-compiling some files for distribution that I'm not sure where to even look for. An excerpt from an output: C:\mother\Python24\core\application\sysconfig>python -m compileall . Listing

Problem using compileall

2009-02-02 Thread Stephen Hansen
I'm having a slight problem with pre-compiling some files for distribution that I'm not sure where to even look for. An excerpt from an output: C:\mother\Python24\core\application\sysconfig>python -m compileall . Listing . ... Compiling .\BulkListClass.py ... Sorry: TypeError: ('c