Creating a dictionary is almost as easy as the Python equivalent: use dictionary type(dictionary_t) :: dict dict = ('KEY'.kv.1) To extend a dictionary one uses the concatenating format: dict = dict // ('Hello'.kv.'world') // ('No'.kv.'world') ...
F90 to Python interface generator with derived type support - f90wrap/f90wrap/fortran.py at a28152749a2f107989323dd35d164d6ba398c5a9 · jameskermode/f90wrap