def read_the_note():
	u.banner_open()
	fp = open('tempnote.txt','r')
	note = fp.readlines()
	for line in note: 
		S.speak(line)
	u.banner_close()	
Exemplo n.º 2
0
 def readnews(self):
     os.system('clear')
     for headline, description in self.headlines.iteritems():
         u.banner_open()
         print headline
         u.banner_close()
         self.S.say(headline)
         time.sleep(1)
def show_me_note():
	u.banner_open()
	os.system("cat tempnote.txt")
	u.banner_close()
def take_a_note():
	u.banner_open()
	os.system("sudo python dictation.py")
	u.banner_close()
def mail_sender():
    u.banner_open()
    os.system("sudo python mailer.py")
    u.banner_close()
def show_me_note():
    u.banner_open()
    os.system("cat tempnote.txt")
    os.system("sudo python sample.py tempnote.txt")
    u.banner_close()