Example code to add groups to Python config parsing