[perl-python] 20050121 file reading & writing

Gian Mario Tagliaretti g.tagliarettiNO at SPAMparafernalia.org
Sat Jan 22 08:04:19 EST 2005


Xah Lee wrote:

> # the second argument of open can be
> # 'w' for write (overwrite exsiting file)
> # 'a' for append (ditto)
> # 'r' or read only

are you sure you didn't forget something?

> # reading the one line
> # line = f.realine()

wrong

> [...]

Maybe you didn't get the fact the you won't see a flame starting between
python people and perl friends?

throw yourself somewhere and... Xah.flush()
-- 
Gian Mario Tagliaretti
PyGTK GUI programming
http://www.parafernalia.org/pygtk/



More information about the Python-list mailing list