Thanks cvp. Got it. Omitting the popover lines for iPhone works perfectly. Thank you.
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.
Latest posts made by rhythmart
-
RE: Invoking the share sheet
-
RE: Invoking the share sheet
Many thanks cvp. Works perfectly on my iPad. Just what I was looking for. Thank you. On my iPhone the popover lines provide an AttributeError, I presume because popover is not supported on an iPhone. What alternative can I use? Thanks again.
-
RE: Invoking the share sheet
Many thanks cvp. That does exactly what I want. Thank you. Now I just need to understand it! My app is scene based. How easy is it to convert it to a touch of a scene ‘button’? Thanks.
-
RE: Invoking the share sheet
cvp, JonB - thanks for coming back to me. I can see how much support you both provide everyone - thank you. For my own enjoyment, i have written my own version of Wordle. When you complete Wordle on an iphone, the resulting "share" button invokes the share sheet for you to copy the clipboard to, for example, WhatsApp for sharing. I can see the share button is available in pythonista as you can get to it under the Editor Wrench option. What I'd like to be able to do is bring up the share sheet in exactly the same way Wordle, Nerdle, Quordle etc do. Many thanks again.
-
Invoking the share sheet
Hi, apologies if this is easy and I've just missed it, but is it possible to include a "Share Sheet" button on a scene or ui built in pythonista. I have looked at the use of Appex and I don't see an option to invoke the share sheet. Many thanks
-
Tesseract OCR
I'd like to do ocr on a sudoku puzzle. I recognise the advice given Kipekeedev about a year ago, but I want to be able to ocr on my iPad not use the internet. Has anyone successfully loaded Tesseract into Pythonista and could give me some suggestions how to do it?
Thanks.
-
Saving an image file downloaded from a url
I have downloaded a Google static map through their API using:
data = urllib.urlopen(my_url).read()
buffer = StringIO(data)
image = Image.open(buffer)where "my_url" is configured to deliver the static map I want.
When I use image.show() the map shows exactly what I'd expect.
However, when I use image.save('google_static_map.png') Pynthonista crashes. If I change the save command to image.save('google_static_map', 'png') it doesn't crash but the file google_static_map is created with no .png extension and no content (it says No Script Loaded).
My image is a PIL.PngImagePlugin.PngImageFile with size 1200x800 and mode P.
Can you please help? Am I missing something obvious?
Thanks in advance.