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
any idea how to automatically save to a text file?
here's what the program do:
first, data is read from the serial port every fixed lenght of time
the data will then be put to a table,
now, every serial read, a table will be created for the data that will
be gathered (one window for each table)
to