Created
August 4, 2018 11:47
-
-
Save Zhang-Siyang/2f2725a3d627dd947a21adcd930a1c75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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