Size limit on compiling?

Aahz aahz at
Thu Feb 26 03:31:00 CET 2004

In article <Ijb%b.75$a6.33911 at>,
Leif K-Brooks  <eurleif at> wrote:
>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?

Use a real database, or at least pickle.
Aahz (aahz at           <*>

"Do not taunt happy fun for loops. Do not change lists you are looping over."
--Remco Gerlich, comp.lang.python

More information about the Python-list mailing list