Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1.  
  2. def load_calendar_plan():
  3.     calendar_plan = load_and_process_calendar_plan_data()
  4.     result = sendRequest([calendar_plan], request_template, None, url, 1)
  5.     if len(result) > 0:
  6.         with codecs.open(OUT_NAME, "a", "utf_8_sig") as out:
  7.             json_str = json.dumps(result, indent=4, ensure_ascii=False)
  8.             out.write(json_str)
  9.         print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement