Jan Rienyer Gadil wrote:
any idea how to automatically save to a text file?
What does 'automatically' mean ?-)
AFAIK, the best way to write something to a file is to
* open the file in write mode
* write your data to the file
* close the file
Hopefully this is quite simple.
f = File('myfile.txt', '
Hmmm.. I can't guess what format you will create the 'tables' in,
or what format you want to save them in. You need the pyserial module
to read data from the serial port - I assume you have already
discovered that ?
Writing a text file to disc is *extremely* trivial Turning a
table - (li