Providing 'default' value with raw_input()?

Alex Martelli aleax at mail.comcast.net
Fri Dec 23 06:49:50 CET 2005


Bengt Richter <bokr at oz.net> wrote:
   ...
> If you want to edit text, maybe the best thing is a text editor?
> Why not write it into a temp file and start the user's favorite editor

Agreed.  There's a recipe for that in the online Python Cookbook, and we
edited and enhanced that into the 2nd edition of the printed (O'Reilly)
Python Cookbook, too.


Alex



More information about the Python-list mailing list