from server2023 import server2023 import sys import os import traceback import json # Iterating through the json # list temp = ['1717152542813', '1717152024189', '1717152015813', '1717151973519', '1717152385027', '1717152154453', '1717152229106', '1717152421750'] uid = 'qbnmIkSbAwc8TTR5FPnViu2Rr0A2' fieldid = '1717152542813' server2023(uid,temp[8]) # print(("before: " +fields_obj)) # fields_obj = fields_obj.replace("\'","\"") # print(("after: " + fields_obj)) # fields_obj = json.loads(fields_obj) #print(len(fields_obj)) # for fieldid, uid in fields_obj.items(): # print(uid, fieldid) #server2023(uid, fieldid)