omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. halloleo235

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    halloleo235

    @halloleo235

    0
    Reputation
    452
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    halloleo235 Unfollow Follow

    Latest posts made by halloleo235

    • Returning to calling app after URL scheme call

      Hi there

      I have a script doing some text conversion in the clipboard. I call the script via the pythonista:// URL scheme.

      After running the script from say iCabMobile or Drafts, ptyhonista stays open, but I would like automatically to return to the calling app. How is this possible?

      Many thanks, Leo

      posted in Pythonista
      halloleo235
      halloleo235
    • RE: Returning to calling app after URL scheme call

      @hyshai, @JonB: Not sure if I understand the x-callback-url scheme properly, but I hoped that a x-source parameter would do it. I guess I have to implement that in pythonista myself...

      posted in Pythonista
      halloleo235
      halloleo235
    • RE: Tab width / indent size being ignored

      Hi omz, I have the same problem. Additionally Pythonista complains sometimes about wrong indentation, when the indentation looks correct to me... A fix would be fantastic!

      posted in Pythonista
      halloleo235
      halloleo235
    • RE: Life time of files under pythonista

      Good explanation Thanks omz.

      posted in Pythonista
      halloleo235
      halloleo235
    • Life time of files under pythonista

      Under Pythonista I can create files via open("file",'w') and read them out with another script later.

      Where do these files live and how long do they exists. Killing the app doesn't seem to delete the files.

      posted in Pythonista
      halloleo235
      halloleo235
    • RE: Open files in the webbroser via the file:/// url scheme

      Many thanks, omz. That's exactly what I want! :-)

      posted in Pythonista
      halloleo235
      halloleo235
    • Open files in the webbroser via the file:/// url scheme

      With Pyhonista I want to write a small documentation viewer for html files I have created in Pythonista.

      Let's say I have created a file "doco.html" under Pythonista's local file area. How can I view such a file via the webbrowser module?

      webbrowser.open("file:///doco.html")
      

      does not work for me. However the file certainly exists: With open("doco.html") as f I can read the lines of the html file straight away.

      posted in Pythonista
      halloleo235
      halloleo235