annotate bin/json @ 2302:fea225362dcd

<shachaf> sed -i s/shchaf/shachaf/g bin/olist
author HackBot
date Fri, 01 Mar 2013 01:20:19 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/usr/bin/env python
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 import sys
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 import json
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 data = json.loads(sys.stdin.read().decode('utf-8'))
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 print eval(sys.argv[1]).encode('utf-8')