This lets you load variables from an external file and save variables to an external file using a special class called Settings. You can load all existing variables from the file and/or you can load/create them on the fly. The variables are not saved until you use SaveAll(). Basically include requirements and the classes. There is an example of how this works included at the end of the code. Give it a try and let me know how it works for you. XML_Settings.py is the class. test_XML_Settings.py shows example usage. V2: I've made a small change to this class to fix behavior when storing empty strings. Previously an empty string would be stored/restored as "None" instead of "" Download is updated in this post.