I have a script that finds usernames and saves it to a file. I want to convert the usernames in accounts.txt to a list. I am unsure how to do this... Does anyone know how to help?
accounts.txt
@example1
@example2
@example3
@example4
@example5
@example6
What I want my program to create from accounts.txt:
['example1', 'example2', 'example3', 'example4', 'example5', 'example6']