Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   425

HELP: Cracked.to Python Authentication.

by Scream - 09 August, 2021 - 11:07 PM
This post is by a banned member (Scream) - Unhide
This post is by a banned member (ZeroTolerance) - Unhide
148
Posts
19
Threads
5 Years of service
#2
(This post was last modified: 09 August, 2021 - 11:22 PM by ZeroTolerance.)
why not something like this?
or do you want if the key is invalid not to save it in the text?
Code:
 
if os.path.isfile('key.txt'):
    with open('key.txt') as f:
        key = f.read().strip()
else:
    key = str(input('> Authentication Key: '))
This post is by a banned member (Scream) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)