how to save strings to a temporary buffer?

Skip Montanaro skip at pobox.com
Wed Jul 18 14:35:34 EDT 2001


    ed> How can I save string to a tempororay buffer and then write it to a
    ed> file afterwards?

Take a look at the StringIO and cStringIO modules.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list