Import order question

Rotwang sg552 at hotmail.co.uk
Tue Feb 18 18:28:21 EST 2014


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>



More information about the Python-list mailing list