Hallo,
kennt jemand ein Modul mit dem ich eine Funktion verzögert ausführen kann? Ich möchte aber während des "wartens" dies abbrechen können.
Danke!
Delay mit Abbruch Option
- __blackjack__
- User
- Beiträge: 14311
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@unique24: `threading.Timer` hat eine `cancel()`-Methode.
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
