ruku_test.py 514 B

1234567891011121314
  1. import pickle
  2. from utils.ruku_opera import Ruku
  3. f1 = open(r"C:\Users\Python\Desktop\test\44\struct_items.pickle",'rb').read()
  4. items_list = pickle.loads(f1)
  5. # pprint(items_list)
  6. f2 = open(r"C:\Users\Python\Desktop\test\44\svg_data.pickle", 'rb').read()
  7. svg_data = pickle.loads(f2)
  8. # print(svg_data["svg_html_data"])
  9. res = Ruku(items_list, "", svg_data, "0213441313131", {"callback_url": "1223", "source": "teacher"}, "高中地理").upload_img()
  10. # a,t = Ruku("","","","").get_phy_kps_auto(one_item, 0)
  11. print(res)