Hi, This is what I often do:
somekindofoutput = ''
somekindofoutput += somefunk(somearg) + '\n'
# w is for writing
myfile = open('theoutfile',w)
myfile.write(somekindofoutput)
myfile.close()
also see
http://www.python.org/doc/2.3.5/tut/node9.html
or some other documentation
/P9k
--
http://mail.python.org/mailman/listinfo/python-list
