On 6/25/2010 1:33 AM ALAN GAULD said...
Copy and pasting is a PITA.

Why would you want to copy and paste?

Because it makes it easy to work on code. My preferred editor (TextPad) allows block selection of indented text such that I can copy and paste functions and methods into the python CLI and work with them there. I find it very easy when developing to keep the CLI open for this purpose and interactively test as I write. Unfortunately, PEP 8 doesn't support this use case as once the blank lines separating methods are pasted in, your class definition is complete. So I either put hash marks in or leave the blank lines out...

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to