Una cosa del genere?

while True:
    buffer = leggi_seriale()
    if buffer:
        myfile = open("/tmp/myfile.csv","a") #accoda
        myfile.write(buffer)
        myfile.close()

--
La crisi e' finita!
E' cominciata la fame.

_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a