Seems doesn't work too :/
In this case:
But next, in my script I will need other informations.
I continue to search but for the moment no success .. :(
In this case:
#!/usr/bin/env python3 import json import sys with open('/tmp/config1.json') as json_file1: data = json.load(json_file1) for key in data: print(key)Result is:
Output:python3.7 script.py
domaine
In my case what is interesting for me is: " To pull the key/value pair from a dictionary you need to use the dictionary_name.items()" Because, for the moment, here I need to retreive nom.But next, in my script I will need other informations.
I continue to search but for the moment no success .. :(