On 28/06/2014 19:39, Alan Gauld wrote:
On 28/06/14 18:59, Ken G. wrote:
BTW You say you get it from "database on file".
Now if that is a real database such as SQLite you will find functions
there to convert it to julian at source... which is easier than reading
it as a string, parsing it, and then converting it back to a date again...
Well spotted :) Ken G. please see
https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor