Import order question

Chris Angelico rosuav at gmail.com
Wed Feb 19 02:59:43 EST 2014


On Wed, Feb 19, 2014 at 6:32 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Tue, 18 Feb 2014 13:44:47 -0800, Rick Johnson wrote:
>
>> Are you telling me you're willing to search through a single file
>> containing 3,734 lines of code (yes, Tkinter) ...
>
> For a mere 4000 lines of code, yes, I'd rather have it all in the one
> file, presuming that they are all related pieces of code.

If Tkinter were horribly unreadable, I would figure it as being
because of the multiple languages involved. But I just pulled up
tkinter/__init__.py to try to find OptionMenu, and it's 35 lines of
easy-to-read code. And there's a destroy method. Not at all hard to
find.

ChrisA



More information about the Python-list mailing list