Ensure that the path to opengrid is in your PYTHONPATH.  If you installed opengrid with pip install opengrid, this is done automatically.
In [ ]:
    
from opengrid import config
    
In [ ]:
    
c = config.Config()
for s in c.sections():
    print("Section: {}".format(s))
    for i in c.items(s):
        print("\tItem: {}".format(i))
    
In [ ]:
    
c.get('opengrid_server', 'host')
    
In [ ]:
    
c.get('data', 'folder')
    
In [ ]: