View Single Post
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#51
Originally Posted by lostinmirkwood View Post
I need to figure out the correct way to write a config file in python; since I'd rater not just have a .txt file with a value sitting in it. otherwise, I'm going to just create an xml file and parse the xml.
I use the ConfigParser module, which write a .ini type config file. It works well for me (although I'm sure there are other ways of doing it).