osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Import order question


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