Why ConfigParser can't write to file?
Just van Rossum
just at xs4all.nl
Sun Feb 24 06:53:24 EST 2002
More information about the Python-list mailing list
Sun Feb 24 06:53:24 EST 2002
- Previous message (by thread): Why ConfigParser can't write to file?
- Next message (by thread): Why ConfigParser can't write to file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <slrna7hkcg.i6a.quinn at baht.ugcs.caltech.edu>, quinn at baht.ugcs.caltech.edu (Quinn Dunkan) wrote: > On Sun, 24 Feb 2002 17:41:17 +0800, Ricky <store_li at sina.com> wrote: > >I see now. Thank you! But I am still confuse, why I write£¨£© method can't > >use filename as a parameter. > > Many files don't have names. > > E.g. sockets, pipes, StringIOs, etc. However for methods like ConfigParser's write() it is quite common to accept a filename __or__ a file object. Just
- Previous message (by thread): Why ConfigParser can't write to file?
- Next message (by thread): Why ConfigParser can't write to file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list