forked from AliSK81/LMS-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
39 lines (29 loc) · 756 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
31
32
33
34
35
36
37
38
39
def user_mode():
from gui import Form
Form().mainloop()
def developer_mode():
import process
from user import User
# replace with your username and password
USERNAME = ''
PASSWORD = ''
process.run(
user=User(USERNAME, PASSWORD),
save_user=True,
enter_meet=True,
mic_on=False,
first_msg="سلام", # None to say nothing
)
input("Press enter to exit..")
def hide_console():
# # pip install pywin32
# import win32con, win32gui
# hide = win32gui.GetForegroundWindow()
# win32gui.ShowWindow(hide, win32con.SW_HIDE)
pass
if __name__ == "__main__":
# hide_console()
# No GUI (console log)
# developer_mode()
# Show GUI
user_mode()