You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f"NOTE: This is commonly misunderstood. This is for user variables, not the normal variables.\nUse keyauthapp.var(\"{var_name}\") for normal variables");
Copy file name to clipboardExpand all lines: main.py
+21-16Lines changed: 21 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
'''
2
+
KeyAuth.cc Python Example
3
+
4
+
Go to https://keyauth.cc/app/ and click the Python tab. Copy that code and replace the existing keyauthapp instance in this file.
5
+
6
+
If you get an error saying it can't find module KeyAuth, try following this https://github.com/KeyAuth/KeyAuth-Python-Example#how-to-compile
7
+
8
+
If that doesn't work for you, you can paste the contents of KeyAuth.py ABOVE this comment and then remove the "from keyauth import api" and that should work too.
9
+
'''
1
10
fromkeyauthimportapi
2
11
3
12
importsys
@@ -13,18 +22,15 @@
13
22
14
23
# watch setup video if you need help https://www.youtube.com/watch?v=L2eAQOmuUiA
15
24
16
-
ifsys.version_info.minor<10: # Python version check (Bypass Patch)
17
-
print("[Security] - Python 3.10 or higher is recommended. The bypass will not work on 3.10+")
18
-
print("You are using Python {}.{}".format(sys.version_info.major, sys.version_info.minor))
19
-
20
-
ifplatform.system() =='Windows':
21
-
os.system('cls & title Python Example') # clear console, change title
22
-
elifplatform.system() =='Linux':
23
-
os.system('clear') # clear console
24
-
sys.stdout.write("\x1b]0;Python Example\x07") # change title
0 commit comments