Advertisement
Guest User

Untitled

a guest
May 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1.     def get_time_picker_data1(self, instance,timer1):
  2.         global timeval
  3.         self.root.ids.time_picker_label1.text = str(timer1)
  4.         self.previous_time = timer1
  5.         self.timeval=str(timer1)
  6.         return self.timeval
  7.  
  8.  
  9.  
  10.     def on_timeval(self, *args):
  11.         currenttime = time.strftime('%H:%M:%S')
  12.         timeRun1=self.timeval
  13.         print(currenttime)
  14.  
  15.         if(str(timeRun1)==str(currenttime)):
  16.             print('hello')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement