Quoting online.serv...@ymail.com: > python's list needs a thing list.clear() like c# arraylist
It has: >>> l[:] = [] > python needs a writeline() method Now, that could be useful, a writeline method that knew the EOL convention for the OS and were not as deceiving as the current .writelines(). BTW, check out the print statement from python2, and the print function in python3: >>> print >>fileobj, "this will print with an eol" # python2 >>> print("this will print with an eol", file=fileobj) -- Luis Zarrabeitia Facultad de Matemática y Computación, UH http://profesores.matcom.uh.cu/~kyrie -- Participe en Universidad 2010, del 8 al 12 de febrero de 2010 La Habana, Cuba http://www.universidad2010.cu -- http://mail.python.org/mailman/listinfo/python-list