You can create a database and save them, the only way is this. Database with SQLITE or .txt file. For example:
with open("mylist.txt","w") as f:
Your list is part of the format() function. It will create a .txt file called mylist and save your data in it.
After that, when you want to access your data again, you can do:
with open("mylist.txt") as f: #in read mode, not in write mode, careful rd=f.readlines() print (rd)
GLHF
source share