Twitter JSONParser ASCII.py
__author__ = 'seandolinar' import json import csv creates a .csv file using a Twitter .json file the fields have to be set manually data_json = open('raw_tweets.json', mode='r').read() #reads in the JSON file into Python as a string data_python = json.loads(data_json) #turns the string into a json Python object csv_out = open('tweets_out_ASCII.csv', mode='w') #opens csv file writer =
| Penerbit | Taratsa |
|---|---|
| Tahun | 2017-01-28 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:580ce7b8-a86a-5833-953d-df12ad1e9939 |