Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Client:
- def __init__(self, username, password):
- self.username = username
- self.password = password
- def read_clients(self):
- with open("Clients.txt", "r") as file:
- client_list = file.readlines()
- for pre_client in client_list:
- client = pre_client.split(" ")
- client_username = client[0]
- pre_password = client[1]
- client_password = pre_password.strip("n")
- c1 = Client(client_username, client_password)
Add Comment
Please, Sign In to add comment