Python config parser to get all the values from a section? Python config parser to get all the values from a section? python python

Python config parser to get all the values from a section?


Make it a dict:

dict(Config.items('Section'))


You can make it a list if ordering is important

list(Config.items('Section'))