I'm looking for practical and simple ways to save information in a separate file, which even after the program closes.py (In python) the information is not lost. And therein was a question, what are the advantages of using a .txt and .bat file type for storing and / or reading information? Is there a difference?