Hello,

I have an assignment that entails entering cash transactions as records. The significant record fields are a date/time stamp, the amount, and whether the transaction is a deposit or withdrawal. My question is about setting up the database file. In Python there is a dictionary function but it looks as if only one value can be assigned to the key (I intend to make the key the timestamp). The file has to be searchable so that reports can be pulled regarding amount, date range, etc. – the usual things one would do with a database. I can’t figure if I can make a query on a multi-field record in Python without engaging a dependency such a storing the record in a mySQL database and querying it from Python. I’m having real burnout with this and would appreciate a point in the right direction.

Much Thanks,

James

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to