python newbie
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Sun Nov 4 11:13:18 EST 2007
More information about the Python-list mailing list
Sun Nov 4 11:13:18 EST 2007
- Previous message (by thread): python newbie
- Next message (by thread): python newbie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Rubin a écrit : > Paul Hankin <paul.hankin at gmail.com> writes: > >>I'm intrigued - when would you want a callable module? > > > I think it would be nice to be able to say > > import StringIO > buf = StringIO('hello') > > instead of > > import StringIO > buf = StringIO.StringIO('hello') What's wrong with: from StringIO import StringIO buf = StringIO('hello') ???
- Previous message (by thread): python newbie
- Next message (by thread): python newbie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list