max length of a python program

Michael Hudson mwh at python.net
Thu Aug 21 10:47:45 EDT 2003


Ragu_Bharadwaj at vrtx.com (Ragu) writes:

> Is there a limit to the # of lines that can be in a Python program?

I can't seem to find one, although trying to run a million line file
got the OOM killer into action...


Cheers,
mwh
-- 
  ZAPHOD:  OK, so ten out of ten for style, but minus several million
           for good thinking, eh?
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 2




More information about the Python-list mailing list