why python doesn't have a writeline() method like c# ?

Benjamin Peterson benjamin at python.org
Wed Mar 4 20:10:48 EST 2009


Chris Rebert <clp2 <at> rebertia.com> writes:
> Sidenote: file.writelines() seems very misleadingly named.

Indeed since it is basically a shortcut for f.write("".join(lines)).







More information about the Python-list mailing list