Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This is some simple illustrative code for Python's ConfigParser module, written as I was trying to figure out how to store more complex data structures in config files.

Notifications You must be signed in to change notification settings

cacois/python-configparser-examples

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python ConfigParser Example

This is some simple illustrative code for Python's ConfigParser module, written as I was trying to figure out how to store more complex data structures in config files.

In addition to the normal stuff, such as getting a single variable/value from a config file, this code also illustrates how to configure and access complex data structures from your config files, such as

  • dicts
  • lists
  • nested data structures (e.g. lists within a dict)

About

This is some simple illustrative code for Python's ConfigParser module, written as I was trying to figure out how to store more complex data structures in config files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.