Script to load JSON file and create a condition to end or continue with the code
Script to load JSON file and create a condition to end or continue with the code Question: Hello I call a JSON file with the next code: with open(‘C:/ftpfiles/itemdatasku.json’) as json_file: data = json.load(json_file) What I want to do is create an exception if “list_no” doesn’t exist, or has other information then the script must …
Total answers: 1