Why ConfigParser can't write to file?

Ricky store_li at sina.com
Mon Feb 25 00:27:27 EST 2002


I agree.
"Just van Rossum" <just at xs4all.nl> wrote in message
news:just-74F5E1.12532424022002 at news1.xs4all.nl...
> 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





More information about the Python-list mailing list