Size limit on compiling?

Leif K-Brooks eurleif at
Thu Feb 26 01:44:24 CET 2004

I have a Python file of 1.2MB (it's a static database, not code, so it 
really does have to be that big). It doesn't seem to get compiled when 
imported (there's no .pyc file created), so importing it takes a few 
seconds which I would really like to avoid. Is Python not compiling it 
because of the large size? Is it because the whole file is on one really 
long line? How can I fix this?

More information about the Python-list mailing list