how to save strings to a temporary buffer?

Skip Montanaro skip at
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

More information about the Python-list mailing list