How big can a Python program be?

Ben Last ben at benlast.com
Tue Aug 17 15:50:37 CEST 2004


The last few of a list of wc's run on the Enthought Python 2.3.3
distribution.  First element of the tuple is line count, second is module
filename.  I'm sure whole packages would be much bigger, but I was curious
as to how big a typical module might get.

(3244, '/cygdrive/c/Python23/Lib/site-packages/scipy/xplt/slice3.py')
(3665, '/cygdrive/c/Python23/Lib/lib-tk/Tkinter.py')
(3820,
'/cygdrive/c/Python23/Lib/site-packages/scipy/stats/distributions.py')
(4036, '/cygdrive/c/Python23/Lib/test/test_descr.py')
(4362, '/cygdrive/c/Python23/Enthought/demos/wxPython/demo/throbImages.py')
(4362,
'/cygdrive/c/Python23/Lib/site-packages/wxPython/demo/throbImages.py')
(4499, '/cygdrive/c/Python23/Lib/site-packages/win32/lib/win32con.py')
(5373, '/cygdrive/c/Python23/Lib/site-packages/wxPython/demo/images.py')
(5377, '/cygdrive/c/Python23/Enthought/demos/wxPython/demo/images.py')
(7364, '/cygdrive/c/Python23/Lib/site-packages/wxPython/lib/maskededit.py')

> -----Original Message-----
> From: python-list-bounces+ben=benlast.com at python.org
> [mailto:python-list-bounces+ben=benlast.com at python.org]On Behalf Of
> Christopher T King
> Sent: 17 August 2004 14:13
> To: python-list at python.org
> Subject: Re: How big can a Python program be?
>
>
> On 17 Aug 2004 vronskij at post.sk wrote:
>
> > Suppose , you are a sole programmer (lonewolf). How many lines can one
> > handle?
>
> $ wc -l my_current_big_project_that_is_very_far_from_being_complete/*
>    2945
>
> I'm sure others can do better than that.
>
> --
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list