Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 230 Bytes
#!/usr/bin/env python
from __future__ import print_function
import json
import fileinput
for line in fileinput.input():
tweet = json.loads(line)
print(("%s [%s]" % (tweet["user"]["name"], tweet["user"]["screen_name"])))
You can’t perform that action at this time.