Il problema che mi pongo e' come realizzare un semplice data entry in python.
Gli esempi che ho trovato sono dataEntry facenti parte di una struttura piu' ampia di dataBase. Non so se la parte di dataEntry sia facilmente scorporabile; forse non e' neanche la cosa prioritaria, la flessibilita' si. O e' un dato usa e getta, altrimenti la memorizzazione e' indispensabile.
The problem was, it wasn’t a huge amount of data (40 or 50 records) — long enough to not want to enter in each one by hand, but not long enough to spend too much time on.
What I did in the end was copy and paste the data into Excel, export it as a CSV file, and then use Python‘s built-in CSV-parsing features to create a bunch of SQL statements to insert the data (unfortunately I couldn’t just load it up using the raw CSV data as it needed a bit of pre-processing).
Since you're interested in future integration with a web application, you might consider using a Python web framework and running the app locally on your machine, using your web browser as the interface. In that case, one easy option would be web2py.
httptonylea/2011/glue-framework-vs-full-stack-framework
SQLite is included in Python and is the default web2py database.
es: web2py
what should be the result of adding the string '2'
to the string
'3'
? Should it be the string '23'
, the integer 5, or
the string '5'
?