saving data to use in excel later - still a newby
I've designed an online form to track statistics (we were writing them down previously and then someone would have to go through them) Id like the form (on submit) to save the data (probably through calling a python script) collected in a format (text file) that I can then export to an excel file. Can someone point me to an example. My problem is, i guess in the python script that updates and saves the new data. kate
Kate Legere wrote at 2003-11-19 10:56 -0500:
I've designed an online form to track statistics (we were writing them down previously and then someone would have to go through them)
Id like the form (on submit) to save the data (probably through calling a python script) collected in a format (text file) that I can then export to an excel file. Can someone point me to an example. My problem is, i guess in the python script that updates and saves the new data.
You will need an External Method (--> "Zope Book"). There is a "csv.py" module around for Python (from 2.3 in the Python core library; up to then separate). It allows you to read and write CSV. Maybe, you should look at the Python tutorial (--> "www.python.org"). -- Dieter
participants (2)
-
Dieter Maurer -
Kate Legere