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.
New Beta for Pythonista 3.3
-
Hi,
I tested the new Beta on my current projects. It run most of the time fine. I had some methods where I had to additionally annotate with @on_main_thread to make it run, which I must not in pythonista 3.2 . But I think this is more correct and I guess v3.2 was just a bit more forgiving in that regard and v3.3. a bit more strict which is fine.I had an issue though with pythonista-gestures from @mikael :
it gives an key error upon accessing a dictionary each time you trigger a gestureI opened an issue for this at https://github.com/mikaelho/pythonista-gestures
Due to some restructuring in the new pythonista v3.3, in the end I think it has to be repaired in Gestures.
EDIT: it has been repaired. ;-)
I hope @mikael has also access to the beta :-)
How many seats are there free ?
Now I will have a look at the funny keyboard thing ... ;-)
-
@orsharir said:
Is there any way to pass input to the script, or return an output from it? The potential for Pythonista as a glue between other shortcuts, and the possibility of creating a programmable voice interface is huge -- but it depends on the ability of Pythonista to process input and generate output.
Unfortunately, there are no APIs from Apple for that, so it's not possible. You can use the clipboard as a crutch though (at least for text-based stuff).
-
@lpl said:
The modules are very very old. Will you update them?
I'm aware of that. I'll look into updating some of the more important ones.
-
@robnee said:
Any chance on addin a theme element for the stderr console text? The dark red is hard to read with some of the dark themes.
I'll consider it, thanks for your feedback!
-
@caddtec said:
I was just trying the new keyboard PyKeys and notice what seems to be a problem... that whenever I enable it, I see only the small upper part of every buttons unless I show the whole keyboard (I use a physical keyboard by the way). I am on iOS 12 with the new iPad Pro 12.9.
Yeah, it's difficult to make it work well in combination with physical keyboards to be honest.
I had a solution that worked better than the current beta, but it was auto-rejected by Apple's App Store validation mechanism because it relied on the keyboard having an "emoji" language, and while that works fine on the device, it's apparently not standard-compliant or whatever.
In general, you can work around this by showing the keyboard manually. You can do this by holding the
^
button in the toolbar above the hidden keyboard (bottom-right corner). -
This post is deleted! -
@omz Openssl 1.0.2f has a serious bug. Please have a checkout and update it. https://bz.apache.org/bugzilla/show_bug.cgi?id=58956
And python3.6.8 is coming out soon. I think 3.6.1 is old. So is 2.7.12.
"To get a newer version of the typing module in Python 3.5 or later, you have to upgrade to a newer Python (bugfix) version. For example, typing in Python 3.6.0 is missing the definition of ‘Type’ – upgrading to 3.6.2 will fix this." https://pypi.org/project/typing/#description -
@omz Yeah I thought so (about the fact it is difficult with physical keyboard). I’ll just have to make do, it is not so problematic so no worries ;o). However, could be a good idea to do like the emoji keyboard however: when we select the PyKeys, it shows the keyboard by default (on screen) and then when we select another keyboard, let’s say English, then the on-screen keyboard disappear and you can then continue using the physical keyboard as always. IMHO I think I would prefer to show the on-screen keyboard by default instead of having to press the button in the toolbar above the hidden keyboard.
As for the App Store validation, I abandoned a long time ago the idea of understanding! ;o)And thanks for the feedback!
-
This post is deleted! -
@omz, whether a side effect or an intentional improvement, maybe include a note that ARKit now works in the release notes?
-
Apple Shortcuts app tries to open Pythonista 2 instead of 3.3 beta. Worked before with 3.2. Using a url with ”pythonista3://” does not seem to be an option.
General problem or a personal problem? Will be fixed when 3.3 goes mainstream?
-
Great job on the beta!
A few small things:
Could it be possible to edit a shortcut to allow it to run in the background after it was created (if someone forgets to enable “background” when they create the shortcut)? I see that right now only the voice command can be changed after creation.Also, I noticed that the keyboard stays light in the UI editor properties fields although it is dark in the rest of the app.
Thanks, and keep up the great work!
-
@omz - is there any way I can contribute or help?
ie updating modules etc?
I've been playing with some OSS python stuff on iOS here just to figure it all out.
I really don't care to get paid or that Pythonista is a commercial app, it's about the community.
Outside of testing the beta, of course!
-
@omz If I correctly understand, the new beta version allows to run a Pythonista script, in background (without starting the full app), when it is launched,
either via a notification
either via a siri shortcut
Could it be possible to launch such a script by a home screen icon? -
@mikael I try in the shortcuts app “pythonista3://“ and it works well, it open the app, do you have installed Pythonista2?, can be that a reason for the error? I only have installed pythonista3 beta. In the shortcuts apps I use some kind of url wrapper and a url opener so the complete shortcut open itself Pythonista 3
-
@omz
iPhone XS Max Pythonista keyboard never appears.Hi @omz about two days I upgrade my phone 6 to the xs max. In my iPhone 6 I have the actual beta of Pythonista and the keyboard words well, it appears and it let me ran my scripts, but now in the xs max the keyboard never appears or it appears but it looks like the standard iPhone keyboard and don’t show me any of the shortcuts, I have it enabled and I also try use it with the allow full access functionality but nothing.
The specifications
-iPhone XS Max 256gb
-iOS 12.1.2
-Pythonista 3.3 (330005) beta
-PyKeys enabled
-Full acces enabled (I turn it on to see if them works)
-I also restart my device two times -
@omz If a Pythonista script is launched by Siri as background, it is executed even if Pythonista app is not in the apps list, but when the same script is launched by a notification, with foreground=False, it is only executed when I start Pythonista...
Is this difference normal? -
@cvp said:
Could it be possible to launch such a script by a home screen icon?
That's not possible, I'm afraid. Home screen icons always launch the full app.
@sulcud said:
iPhone XS Max Pythonista keyboard never appears.
That's weird, did you do a fresh install of the Pythonista beta on the XS Max, or did you restore a backup? Have you tried disabling the 'PyKeys' keyboard, and then enabling it again? Sorry, I don't have a good explanation right now.
-
@omz I install Pythonista 3 from the backup them I install the beta, I try enabling and disabling pykeys
-
@omz i solve it, i re install the app them i open it and them a install the beta