Display ein countdown für die python-sleep-Funktion

Ich bin mit der Zeit.sleep(10) in meinem Programm. Anzeige des Countdowns in der shell, wenn ich mein Programm?

>>>run_my_program()
tasks done, now sleeping for 10 seconds

und dann will ich es tun 10,9,8,7....

ist das möglich?

InformationsquelleAutor user1681664 | 2013-06-20
Schreibe einen Kommentar