1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00
This commit is contained in:
Mo 2022-04-26 02:20:31 +02:00
parent 12035f96ca
commit e95c5d6121

View file

@ -8,20 +8,20 @@ def box(message, context=None):
text_line += message + " |" text_line += message + " |"
seperator = "=" * (4 + len(text)) separator = "=" * (4 + len(text))
print() print()
print(seperator) print(separator)
print(textline) print(textline)
print(seperator) print(separator)
print() print()
def step(message): def step(message):
continue_message = "-> Press ENTER to continue or Ctrl+C to interrupt the script <-" continue_message = "-> Press ENTER to continue or Ctrl+C to interrupt the script <-"
upper_seperator = "_" * len(continue_message) upper_separator = "_" * len(continue_message)
print() print()
print(upper_seperator) print(upper_separator)
box(message, "Next step") box(message, "Next step")