Beta of new functions

This commit is contained in:
BarsTiger
2021-08-18 22:22:08 +03:00
parent 56e58979f6
commit dd796dbf35

View File

@@ -1,7 +1,9 @@
import json, os, shutil
def header():
print(r'''KOTIKOT, script by BarsTiger |
print(r'''---------------------------------------------------------------------|
KOTIKOT, script by BarsTiger |
|
|
_____ _______ ____ ____ |
/ ____|__ __|/\ | _ \ | _ \ |
@@ -15,10 +17,10 @@ def header():
''')
def cls():
print("\n" * 35)
print("\n" * 34)
class menu:
def section(self):
def section(self=0):
cls()
header()
print("Select section")
@@ -28,7 +30,7 @@ class menu:
print("4 - Owning options")
print("0 - Exit")
def outputmenu(self):
def outputmenu(self=0):
print("What you want to do?")
print("1 - Print all database")
print("2 - Print all items")
@@ -37,7 +39,7 @@ class menu:
print("5 - Print all items by price below this")
print("0 - Back")
def baseoptions(self):
def baseoptions(self=0):
print("What you want to do?")
print("1 - Create backup of opened database")
print("2 - Open another database")
@@ -197,4 +199,7 @@ while True:
input("To exit press Enter...")
exit()
elif doing == "yesimbetatester":
menu.section()