dukpy/README.rst

12 lines
173 B
ReStructuredText
Raw Normal View History

2015-03-09 11:53:47 +00:00
dukpy
=====
Simple JavaScript interpreter for Python::
import _dukpy
res = _dukpy.eval_string('var x = {"ciao": 5}; x["ciao"] + 3;')
print(res)
b'8'