mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-19 13:18:13 +02:00
Delete ssaver.py
This commit is contained in:
parent
24e7602dca
commit
2cfcb6313b
1 changed files with 0 additions and 21 deletions
21
ssaver.py
21
ssaver.py
|
|
@ -1,21 +0,0 @@
|
|||
import time
|
||||
import os
|
||||
|
||||
def countdown(t):
|
||||
while t > 0:
|
||||
screensv()
|
||||
t -= 1
|
||||
time.sleep(1)
|
||||
print("BLAST OFF!")
|
||||
|
||||
def screensv():
|
||||
os.system("python3 terminal_matrix/matrix.py")
|
||||
|
||||
print("How many seconds to count down? Enter an integer:")
|
||||
seconds = input()
|
||||
while not seconds.isdigit():
|
||||
screensv()
|
||||
seconds = input()
|
||||
seconds = int(seconds)
|
||||
countdown(seconds)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue