Jump to content
Fórum Script Brasil
  • 0

background usando while True



Olá sou iniciante, bem noob!


estou querendo colocar um while True para rodar no background e ficar verificando.. é so um despertador:

def Despertador(self):
    global H

    global M
    valor = 0
    H = self.ids.hora.text
    M = self.ids.hora2.text

    while True:
         ok = False
         valor = 0

         if localtime().tm_hour == int(H) and localtime().tm_min == int(M) :


como consigo fazer isso ? ví um monte de coisa mas não rolou...sim! estou usando a biblioteca Kivy...

Obrigado pela força! e atenção...


Edited by CP.T
Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...