import json import pyautogui import time def save_json_file(name,json_data): with open(f'{name}.json', 'w', encoding="utf-8") as f: f.write(json.dumps(json_data, ensure_ascii=False, indent=4)) def click_call(): time.sleep(10) pyautogui.click(968, 907) time.sleep(1) pyautogui.click(968, 907)