view bin/json @ 8753:8c43a2d07d89

<oerjan> learn te/sting is important.
author HackBot
date Wed, 06 Jul 2016 01:02:54 +0000
parents e037173e0012
children
line wrap: on
line source

#!/usr/bin/env python
import sys
import json
data = json.loads(sys.stdin.read().decode('utf-8'))
print eval(sys.argv[1]).encode('utf-8')