Import order question

MRAB python at mrabarnett.plus.com
Tue Feb 18 19:18:28 EST 2014


On 2014-02-18 23:28, Rotwang wrote:
> On 18/02/2014 21:44, Rick Johnson wrote:
>> [...]
>>
>> Are you telling me you're willing to search through a single
>> file containing 3,734 lines of code (yes, Tkinter) looking
>> for a method named "destroy" of a class named "OptionMenu"
>> (of which three other classes contain a method of the same
>> exact name!), when all you needed to do was open one single
>> module named "tk_optionmenu.py" and do a single search for
>> "def destroy"?
>>
>> You must be trolling!
>
> I have music software that's a single 9K-line Python module, which I
> edit using Notepad++ or gedit. If I wish to find e.g. the method "edit"
> of class "sequence" I can type
>
>       <Ctrl-f>class seq<Return>def edit(<Return>
>
I use EditPad Pro. It has a File Navigator, which gives a hierarchical
view of functions, classes and methods.




More information about the Python-list mailing list