I want to parse a .properties-file’s keys and values into a python dictionary. The .properties-file I’m parsing uses the following syntax (keys and values are examples): So each value corresponds to a key consisting of one or more levels divided with periods. The goal is to create a Python dictionary where each key is a dictionary containing its value and