![]() |
Python create calendar entry - how?
As the title really.
Learning python and in order to progress, I have some application ideas. One app I want to work at involves creating calendar entries. Can this be done and if so any coding examples or links to the documentation giving the format and parameters? |
Re: Python create calendar entry - how?
You can create entries in the calendardb itself. There is the calendar-backend API, but that's C++ (and the only API I've used for this). Qt now has the mobility API, which may work. There are python bindings (apparently, found using Google) in the PySide project.
http://www.pyside.org/docs/pyside-mobility/ Good luck. |
Re: Python create calendar entry - how?
thanks for the info, i assume there is access to sqlite through python.
any idea how to format the datestart and dateend fields? not sure how they work. today (20th june 2011 at 15:00) is stored as 1308578400 |
Re: Python create calendar entry - how?
I believe that is unix time.
Conversion is here: http://soft.zoneo.net/Unixtime/index.php Looks like the time zone is not part of that field, though. I'm not a python guy, but i'm sure there's conversion functions for creating unix time entries with other date functions. |
All times are GMT. The time now is 09:48. |
vBulletin® Version 3.8.8