MCPcopy Index your code
hub / github.com/dabeaz/python-cookbook / example1.py

File example1.py

src/13/reading_configuration_files/example1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from configparser import ConfigParser
2cfg = ConfigParser()
3cfg.read('config.ini')
4print('sections:', cfg.sections())

Callers

nothing calls this directly

Calls 2

readMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected