@ccc Use the address listed above (https://discord.gg/XCKkvJS). That worked for me. You can enter it in the Discord app.
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.
Posts made by halloleooo
-
RE: Trying to move to Pyto but….
-
RE: Trying to move to Pyto but….
@malko Yes, the Discord server is running. And we certainly need more people participating to make it active... :-)
-
RE: Does anybody know about a forum for Pyto?
@ccc Thanks for this. The other thread says it all. :-)
-
RE: Trying to move to Pyto but….
@cvp Thanks for the discord link! Will check it out.
-
Does anybody know about a forum for Pyto?
I 'm playing with Pyto, the new kid on the Python-on-iOS block -- and I am missing a lot of things (first and foremost Share Sheet integration!).
So I'm keen to join a forum which discusses Pyto and how to use it - but I couldn't find any dedicated discussion board. Sure, I can go to stackoverflow, but a forum or community devoted solely to Pyto might exist too.
Does anybody know of anything?
-
RE: Pythonista will be broken soon.
Well, it it inevitable that this wonderful app at some stage will stop working altogether if is is not maintained anymore.
Very, very sad.
-
RE: Editor jumps to end of file?
I have the same problem. I use the Logitech Smart Folio Keyboard with an iPad and have the same weird issue!
No idea though how to fix it..
-
RE: How to share JPEGs via dialogs.share_image?
@cvp @ccc Funny, funny., but a good point: These days everything is semiconductors...
In regards to the problem at hand: Using the file systems means I have to create a tmpdir first I guess - or where the heck does the stuff get saved when Pythonista executes in a share extension???
-
RE: How to share JPEGs via dialogs.share_image?
Thanks for the details. I was hoping to be able to tweak
dialogs.share)image
to export JPGs, but the detour via a JPG file is ok too.Thanks again!
-
RE: How to share JPEGs via dialogs.share_image?
Thanks @cvp.
Does this mean I have save the PIL image first as a JPG to disk and then I can share it?
-
How to share JPEGs via dialogs.share_image?
I use
dialogs.share_image(img)
to share an photo from Pythonista to other apps.The photo is given as a PiL image and it seems to be shared as a PNG which is pretty inefficient for photos.
Any idea how I can share the photo as a JPEG?
-
RE: How to get the underlying file name when using get_images() and not get_attachments()?
@cvp Yes, I noticed , because I got “AttributeError: '_ui.Image' object has no attribute 'format'”.
I’ll try your new suggestion. Thanks!
-
How to get the underlying file name when using get_images() and not get_attachments()?
A new chapter with my Image Share Extension:
I started using
appex.get_attachments
instead ofappex.get_images
, because withget attachments
I get the path name and thus can check for HEIC images with the same name as JPGs. This is great for the Photos app.However in the Files app I get via
get_attachments
duplicates for the same file path!get_images(image_tyepe='ui')
still gives me only single files.Here some debug output with two files selected in the Files app when calling the Share Extension.
get_attachments list: /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Journals/Diary/_assets/Aubergine-menu_MAR2021_Julia.jpg /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Journals/Diary/_assets/Aubergine-menu_MAR2021_Julia.jpg /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Journals/Diary/_assets/Aubergine-menu_MAR2021_Leo.jpg /private/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Journals/Diary/_assets/Aubergine-menu_MAR2021_Leo.jpg get_images list <_ui.Image object at 0x1162F7240> <_ui.Image object at 0x1162F7550>
So I clearly prefer using
get_images
! But then I do not know the name and extension of the underlying file (for the HEIC deduping). - Any way to get this?Many thanks for pointers in advance!
-
RE: Bug: Run Pythonista script in share sheet shows tools instead of appex scripts
@cvp Totally agree. Would be sooo good to be able to reach out to omz...
-
RE: Bug: Run Pythonista script in share sheet shows tools instead of appex scripts
@cvp said::
Maybe reinstall Pythonista?
Always afraid to lose my data
Fair enough, but the Python files you should be able to get back via iCloud if you stored them there.
Of course all custom links you’ve put into the Wrench sheet, you’d need to rewire...
-
RE: How to build a Sharehseet UI which runs well on iPad and iPhone
@cvp Thanks. Makes sense. I was hoping there is a way via the UI builder, but of course, I can adjust things later in code.
-
RE: yaml.dump() appending to file rather than overwriting
@cvp Only when you use
os.rename
. If you usepathlib
'sPath.rename
I think it silently overwrites the old backup file. -
RE: Bug: Run Pythonista script in share sheet shows tools instead of appex scripts
@Cvp And maybe making Ole Zorn aware of it? Not sure how responsive he is on Twitter...
-
RE: Bug: Run Pythonista script in share sheet shows tools instead of appex scripts
@cvp No idea what can cause this. Maybe reinstall Pythonista?