-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.py
30 lines (24 loc) · 801 Bytes
/
Main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from PyQt5.QtWidgets import QApplication
from core_functions import *
import sys
class Main(QtWidgets.QMainWindow):
def __init__(self):
super().__init__()
self.ui = core_functions()
self.ui.setupUi(self)
self.ui.setupOtherAttributes()
self.show()
def main():
print("\nNote to self: To run this from commandline, make sure you use the command \"python3.6\", "
"\nwhich is setup by Pycharm, and whose path is defined in \"~/.bash_profile\"\n")
# cloudinary.config(
# cloud_name="dphxz4d4i",
# api_key="521134793219841",
# api_secret="OVX7ykjiq37D03ex0zojE4aRqB0"
# )
app = QApplication(sys.argv)
instance = Main()
sys.exit(app.exec_())
#app.exec_()
if __name__ == '__main__':
main()