Created
February 17, 2018 20:50
-
-
Save natematias/c802ac332b4d0c727f612361794a41b2 to your computer and use it in GitHub Desktop.
Writing python-twitter data to unicode file
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
all_users_info = [x._json for x in users_info] | |
f = codecs.open(FILENAME, mode="w", encoding="utf-8") | |
f.write(json.dumps(all_users_info, ensure_ascii=False)) | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment