How big can a Python program be?

Peter Hansen peter at
Tue Aug 17 14:35:50 CEST 2004

vronskij at wrote:
> A C program can be hundreds of thousands lines of code big.
> C++ millions.
> How about Python?
> Suppose , you are a sole programmer (lonewolf). How many lines can one handle?

What are you actually asking?  What technical limitations,
such as maximum line count per module, Python might have?

Or how productive the average programmer can be in terms
of lines of Python code produced per day?

Or something else entirely?

Note that lines of code is a pretty poor measure of productivity,
especially if you just use an average statistic, because it's
hard to judge whether those lines are bug-free or bug-ridden,
and because there is an extremely wide variation in productivity
between different programmers (one oft-published ratio is 30:1).

And more importantly than anything: why do you want to know
such things?  This information is critical to providing you
with a useful answer.


More information about the Python-list mailing list