coverylanguagedetection1 / load_json.md
Felixogunwale's picture
Upload 18 files
a63752b
|
raw
history blame
No virus
161 Bytes

import json from

with open('posts.json') as f: posts_json = json.load(f)

for post in posts_json: post = Post(text=post['text']) post.save()