Exemple #1
0
import sys

print(r"""
                     $$\                             $$\           
                     $$ |                            \__|          
 $$$$$$\   $$$$$$\ $$$$$$\    $$$$$$\  $$$$$$\$$$$\  $$\  $$$$$$$\ 
 \____$$\ $$  __$$\\_$$  _|  $$  __$$\ $$  _$$  _$$\ $$ |$$  _____|
 $$$$$$$ |$$ |  \__| $$ |    $$$$$$$$ |$$ / $$ / $$ |$$ |\$$$$$$\  
$$  __$$ |$$ |       $$ |$$\ $$   ____|$$ | $$ | $$ |$$ | \____$$\ 
\$$$$$$$ |$$ |       \$$$$  |\$$$$$$$\ $$ | $$ | $$ |$$ |$$$$$$$  |
 \_______|\__|        \____/  \_______|\__| \__| \__|\__|\_______/ 
Personal identification log book (c) 2021
    """)

print("[1] Create Case")
print("[2] Find Cases")
print("[3] Update Case")
print("[4] About")

# Convert to integer
inputText = int(input("Type number: "), 10)

obj = Log()
if (inputText == 1):
    obj.create_log(date.today())
elif (inputText == 2):
    obj.find_log()
elif (inputText == 3):
    obj.update()
else:
    print("about")