omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    How to print javascript console in pythonista ?

    Pythonista
    2
    2
    454
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Raymond
      Raymond last edited by

      Like the title, how to print javascript console, or How to send message from javascript to pythonista ?

      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by

        The best way is to use wkwebview
        https://github.com/mikaelho/pythonista-webview

        It 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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors