How to print javascript console in pythonista ?
-
Like the title, how to print javascript console, or How to send message from javascript to pythonista ?
-
The best way is to use wkwebview
https://github.com/mikaelho/pythonista-webviewIt includes an interactive console. eval_js let's you evaluate JavaScript expressions (returns Json).
For something quick and dirty with the built in webview, see
https://forum.omz-software.com/topic/1804/debugging-in-javascript-in-pythonista