Hello guys I want to split words from a selected file but It returns ['0']
in my text file I have email:password like this email@gmail.com:password
I want to split them into a list
emails = ['email@gmail.com'] passwords = ['password]
path = easygui.fileopenbox()
print(path)
username = []
passwords = []
with open(path, 'r') as f:
lineCount = len(f.readlines())
lines = f.readlines()
for line in str(lineCount):
username = re.split(':',line)
password = re.split(':',line)
