Open pixelpusher opened 5 years ago
see thread here: https://groups.google.com/forum/#!topic/brython/bdUu5jjwQ3I
var src = "import datetime\n" + "for i in range(5):\n print(i)\n" + "print(datetime.datetime.now())" var js = BRYTHON.python_to_js(src) js += "console.log('ok')" eval(js)
https://github.com/brython-dev/brython/issues/937
see thread here: https://groups.google.com/forum/#!topic/brython/bdUu5jjwQ3I
var src = "import datetime\n" + "for i in range(5):\n print(i)\n" + "print(datetime.datetime.now())" var js = BRYTHON.python_to_js(src) js += "console.log('ok')" eval(js)
https://github.com/brython-dev/brython/issues/937