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.


    or to build a web app in Pythonista, while testing it in Safari.

    Pythonista
    webbrowser web app
    3
    3
    3737
    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.
    • stephan108
      stephan108 last edited by

      This is what it says on "http://omz-software.com/pythonista/" how can one achive this without loading the code up to a webside. I'd like to open from safari a script in pythonista whereas the output of the skript is shown in safari ...

      Thanks for any help and all the best, Stephan

      Phuket2 1 Reply Last reply Reply Quote 0
      • disorientedp
        disorientedp last edited by

        Using the bottle module, you can run a web server that uses a local IP address. With split view, you can go to that server in Safari. That's all that means. To make a Python script appear in Safari you would have to read the file, then put it in an HTML document and use that in bottle. See the documentation.

        1 Reply Last reply Reply Quote 0
        • Phuket2
          Phuket2 @stephan108 last edited by Phuket2

          @stephan108 , you may want to look at this topic on the forum. There are other topics also.... Best to just search the forum with 'bottle'

          Will give you a lot of ideas

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