Python – ConfigureParser

When you application is getting more and more sophisticated, you might need to have some configuration file which contains some arguments the user might want to customize later. If it is only about one or two arguments, users might be fine passing them to the command line arguments directly. However, if you have tens of arguments and you happen to be a python programmer. Definitely check out the built-in ConfigParser library.

Here is how the exported config file looks like:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s