本文整理汇总了Python中note.Note.returnNOte方法的典型用法代码示例。如果您正苦于以下问题:Python Note.returnNOte方法的具体用法?Python Note.returnNOte怎么用?Python Note.returnNOte使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类note.Note
的用法示例。
在下文中一共展示了Note.returnNOte方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Data_rm
# 需要导入模块: from note import Note [as 别名]
# 或者: from note.Note import returnNOte [as 别名]
#.........这里部分代码省略.........
'Note':{
Note.returnnDict()
}
}
}
# Returning Functions (Classses)
# def returnDueDate(self):
# logging.debug(('Returning Data::Duedate: ', self.DueDate))
# return self.DueDate
# def returnReminder(self):
# logging.debug(('Returning Data::Reminder: ', self.Reminder))
# return self.Reminder
# def returnNote(self):
# logging.debug(('Returning Data::Note: ', self.Note))
# return self.Note
# def returnID(self):
# logging.debug(('Returning Data::ID: ', self.ID))
# return self.ID
# # Returning Functions (Dictionaries)
# def returndDict(self):
# logging.debug(('Returning Data::dDict: ', self.DueDate.returndDict()))
# return self.DueDate.returndDict()
# def returnrDict(self):
# logging.debug(('Returning Date::rDict: ', self.Reminder.returnrDict()))
# return self.Reminder.returnrDict()
# def returnnDict(self):
# logging.debug(('Returning Date::nDict: ', self.Note.returnnNote()))
# return self.Note.returnrDict()
# Setting Individual Functions: setX(params)
# def setDueDate(self, name, date, time):
# logging(('Setting Data::DueDate with parameters: ', name, date, time))
# logging(('Previous Data::DueDate parameters: ', self.DueDate.returnName(),
# self.DueDate.returnDate(),
# self.DueDate.returnTime()))
# self.DueDate.setAll(name, date, time)
# logging(('Present Data::DueDate parameters: ', self.DueDate.returnName(),
# self.DueDate.returnDate(),
# self.DueDate.returnTime()))
# def setReminder(self, date, time):
# logging(('Setting Data::Reminder with parameters: ', date, time))
# logging(('Previous Data::Reminder parameters: ', self.Reminder.returnDate(),
# self.Reminder.returnTime()))
# self.Reminder.setAll(date, time)
# logging(('Present Data::Reminder parameters: ', self.Reminder.returnDate(),
# self.Reminder.returnTime()))
# def setNote(self, note):
# logging(('Setting Data::Note with parameters: ', note))
# logging(('Previous Data::Note parameters: ', self.Note.returnNote()))
# self.Note.setNote(note)
# logging(('Present Data::Note parameters: ', self.Note.returnNote()))
# Setting with Class: setXC(class)
def setDueDateC(self, dd):
logging(('Setting Data::DueDate with class: ', dd.returnName(),
dd.returnDate(), dd.returnTime()))
logging(('Previous Data::DueDate parameters: ', self.DueDate.returnName(),
self.DueDate.returnDate(),
self.DueDate.returnTime()))
self.DueDate.setAll(dd.returnName(), dd.returnDate(), dd.returnTime())
logging(('Presetn Data::DueDate parameters: ', self.DueDate.returnName(),
self.DueDate.returnDate(),
self.DueDate.returnTime()))
def setReminderC(self, r):
logging(('Setting Data::Reminder with class: ', r.returnDate(),
r.returnTime()))
logging(('Previous Data::Reminder parameters: ', self.Reminder.returnDate(),
self.Reminder.returnTime()))
self.Reminder.setAll(r.returnDate(), r.returnTime())
logging(('Present Data::Reminder parameters: ', self.Reminder.returnDate(),
self.Reminder.returnTime()))
def setReminderC(self, n):
logging(('Setting Data::Note with class: ', n.returnNote()))
logging(('Previous Data::Note parameters: ', self.Note.returnNote()))
self.Note.setNote(n.returnNote())
logging(('Present Data::Note parameters: ', self.Note.returnNOte()))
# Clearing Classes
def clearDueDate(self):
logging('Clearing Data::DueDate class')
self.DueDate.setAll(None, None, None)
def clearReminder(self):
logging('Clearing Data::Reminder class')
self.Reminder.setAll(None, None, None)
def clearNote(self):
logging('Clearing Data::Note class')
self.Note.setNote(None)