Skip to content

Instantly share code, notes, and snippets.

@Zhang-Siyang
Created August 4, 2018 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zhang-Siyang/2f2725a3d627dd947a21adcd930a1c75 to your computer and use it in GitHub Desktop.
Save Zhang-Siyang/2f2725a3d627dd947a21adcd930a1c75 to your computer and use it in GitHub Desktop.
with open('/tmp/asfuidyo', 'w') as f:
csv.writer(f, dialect="excel").writerow([
{"found_year": found_year, "jg_type": jg_type, "area": area,"source_gw_link": source_gw_link,
"jianjie": jianjie, "lianxi": lianxi},
{"company_news": company_news},
{"name": name, "sex": sex, "company": company, "position": position,"role": role,
"edu_experience": edu_experience,
"work_experience": json.dumps(OrderedDict(sorted(work_experience.items()))).encode('utf-8').decode('unicode_escape')},
{"lingyu": lingyu, "jiguan": jiguan, "lunci": lunci, "jieduan": jieduan, "jieshao": jieshao,
"money_type": money_type,"touzianlie": json.dumps(OrderedDict(sorted(tzanli.items()))).encode('utf-8').decode('unicode_escape')},
{"person_news": json.dumps(OrderedDict(sorted(person_news.items()))).encode('utf-8').decode('unicode_escape')}
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment