Used to 'file = open(...)', now what?
Chad Netzer
cnetzer at mail.arc.nasa.gov
Wed May 7 17:19:50 EDT 2003
On Wed, 2003-05-07 at 13:40, Grzegorz Adam Hankiewicz wrote:
> I'm very used to the following construct:
>
> file = open("whatever", flags)
> Now what would be the "usual" way to name file variables without hiding the
> constructor?
I like to use:
open = file("whatever", flags)
as revenge on Guido for making this change.
<PS - just kidding>
--
Chad Netzer
(any opinion expressed is my own and not NASA's or my employer's)
More information about the Python-list
mailing list