• halloleo235

    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 read more
  • halloleo235

    @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 read more
  • halloleo235

    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 read more
  • halloleo235

    Good explanation Thanks omz.

    posted in Pythonista read more
  • halloleo235

    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 read more
  • halloleo235

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

    posted in Pythonista read more
  • halloleo235

    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 read more

Internal error.

Oops! Looks like something went wrong!