Import order question
sg552 at hotmail.co.uk
Wed Feb 19 02:09:27 CET 2014
On 18/02/2014 23:41, Rick Johnson wrote:
> On Tuesday, February 18, 2014 5:28:21 PM UTC-6, Rotwang wrote:
[snipped material restored for context]
>> 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
> This is not about "how to use a search function"
No, it's about your incredulity that someone would search for a method
in a large file that contains several methods of the same name. However,
the existence of search functions makes this completely trivial.
More information about the Python-list