We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf43a9 commit a3bcfa6Copy full SHA for a3bcfa6
main.py
@@ -1,8 +1,11 @@
1
from database import PPPLDatabase
2
import gui
3
4
+db_host = input('Database Host Name: ')
5
+db_user = input('Database Username: ')
6
+db_password = input('Database Password: ')
7
pppl_db = PPPLDatabase()
-a = gui.MainGUI(pppl_db)
-pppl_db.connect_server('localhost', 'ben', 'benpassword123')
-a.mainloop()
8
+ui = gui.MainGUI(pppl_db)
9
+pppl_db.connect_server(db_host, db_user, db_password)
10
+ui.mainloop()
11
pppl_db.disconnect_server()
0 commit comments