from ldtp import * def createAppointment (calendar, summary, location, fromTime ,\ toTime, fromDate, toDate, description): dataobject.gettagvalue(summary, location, description) selectcalendardate ('Appointment' , 'calendar', , , ) if summary != [] and location != [] and description != [] : settextvalue ('dlgAppointment *', 'txtsummary', summary [0]) settextvalue ('dlgAppointment *', 'txtlocation', location [0]) settextvalue ('dlgAppointment *', 'txtdescription', description [0])