Development. Just some dev

This commit is contained in:
BarsTiger
2021-10-01 17:55:38 +03:00
parent 460674f537
commit f78955211e

View File

@@ -30,6 +30,12 @@ except:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'PyQt5']) subprocess.check_call([sys.executable, "-m", "pip", "install", 'PyQt5'])
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
try:
import psycopg2
except:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'psycopg2'])
import psycopg2
def cls(): def cls():
os.system('cls' if os.name == 'nt' else 'clear') os.system('cls' if os.name == 'nt' else 'clear')