Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
from
configparser
import
ConfigParser
2
cfg = ConfigParser()
3
cfg.read(
'config.ini'
)
4
print(
'sections:'
, cfg.sections())
Callers
nothing calls this directly
Calls
2
read
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected