redefining stdout
Thomas Wouters
thomas at xs4all.net
Fri Mar 16 17:15:20 EST 2001
On Fri, Mar 16, 2001 at 09:35:48AM -0700, Mark Limber wrote:
> >>> import t # short file names = less typing!
In Python 2.0 and later, you can do
>>> import mystdoutreplacementthatunfortunatelyisnotworking as t
to avoid the confusion (and name clashing!) of short filenames.
--
Thomas Wouters <thomas at xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
More information about the Python-list
mailing list