예제 #1
0
파일: data_rm.py 프로젝트: galbie/Remind-Me
    def __init__(self):
        logging.debug('Initializing Data class')
        self.DueDate = DueDate()
        self.Reminder = Reminder()
        self.Note = Note()
        self.ID  = 'Database'
        self.dbDict = {
            'Database':{
                'DueDate':{
                    DueDate.returndDict()
                },
                'Reminder':{
                    Reminder.returnrDict()

                },
                'Note':{
                    Note.returnnDict()
                }
            }
        }
예제 #2
0
파일: test.py 프로젝트: galbie/Remind-Me
from note import Note

a = Note()

a.setNote("Hello, this is a testing script. Looking, writing, and testing")

print("Printing Dictionary-", a.returnnDict())
print("Printing Dictionary-", a.returnNote())

a.setNote("Hello, this is a testing set script. Looking, writing, and changing")

print("Printing Dictionary-", a.returnnDict())
print("Printing Dictionary-", a.returnNote())

b = "Hello, I am string"

a.setNote(b)

print("Printing Dictionary-", a.returnnDict())
print("Printing Dictionary-", a.returnNote())