Skip to content

markkuleinio/python-config-parsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Configuration File Parsing in Python

This is an example of parsing a configuration file with Python standard library.

Example output:

$ python3 configtest.py
Data directory: ~/mydata
Debug mode: True
Error getting the port number: invalid literal for int() with base 10: 'this_is_invalid_number'

More information: https://docs.python.org/3/library/configparser.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages