[Tutor] using -i flag with '''if __name__ == "__main__":'''

Kent Johnson kent37 at tds.net
Fri May 20 11:56:49 CEST 2005


Alan G wrote:
>>>I think this approach to debugging won't scale well and you are
> 
> just
> 
>>>seeing the tip of the iceberg.... [and more helpful stuff,
> 
> snipped.]
> 
>>Thanks to you both.  I think I may need to step up my "development
>>environment" beyond emacs and a command line.
> 
> 
> I don't see why. The very biggest systems I've ever worked on were
> built using an editor and command line. Emacs in particular is
> extra-ordinarily powerful, especially in its integration with
> the interpreter and debugger. Modern IDEs offer a few extra
> features over emacs but generally they lose out in terms of
> raw editing power.
> 
> I missed the original part of the post that prompted your decision,
> but the quoted comment above suggests a new aopproach to debugging,
> not necessarily a new debugger...

Good catch Alan. Most of my Python coding is done entirely in TextPad...

Kent



More information about the Tutor mailing list