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.
How do I perform ios “open with” from python code?
-
@cvp I think your code above is fabulous, but I have not been able to strip it down to the bare minimum, without the GUI, and assuming 'all' as the default choice so that the code goes immediately to the "open with" dialog. Could you possibly provide a minimal version of your code? For me it would be perfect if it goes directly from a file name mentioned in the code to the "open with" popup.
-
@djl I'm really sorry, but obviously due to my English, I don't understand your request..
The last little script I posted is the minimum code to display the standard open_with of a file, without removing any service, but in this case, it is equivalent to the standard Pythonista console.open_in. -
@cvp Thanks! It turns out that console.open_in is the only additional code I need for my project. As a beginner, I was unaware of this statement.
-
@djl My first post on this topic already gave it 😂