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.
Python 3.x Progress Update
-
Hello. Is there any way to understand whether my beta request was abandoned or not?
-
The icon is good! Now it's downloading :-)
-
-
In the Task Manager (double click home button) the correct icon is displayed on my iPad Pro, but on my iPhone 6 Plus the task manager will show the old icon, it's weird because they are using the same iOS version.
-
@Webmaster4o Did you see the option to change the default Python version in the settings?
@OI That is probably the issue mentioned in the release notes, that the new icon is missing for some resolutions (probably the non-Retina ones) so the old one is displayed instead. And to be honest I like the old logo better... possibly because every other Python app uses the Python logo in the icon. The "prompt" icon is different and more recognizable IMHO.
@filippocld Agreed, though it would be good to have separate site-packages folders for the two versions (I think currently Python 2 uses the Pythonista 2 site-packages). Not all modules have a single codebase for Python 2 and 3, I think some projects just run
2to3
or3to2
on their source code. -
@alexquot It wasn't. He probably just hasn't gotten to it yet.
-
@dgelessus Yeah, I saw that. I just think my solution would be smoother
@omz Thanks so much for speeding up
print
! -
@Webmaster4o Honestly your solution does not make sense to me. If you really want to switch versions fast just put the
#!/usr/bin/env python3
line at line 1 of the script
-
@Webmaster4o I do like the idea with the small number showing what Python version will be used, even if there is no toggle in the run menu. (Then you could also see if Pythonista recognizes the script's shebang line correctly.) In the patchnotes omz said that the interactive console's version switching behavior might be changed in the future.
@omz Any chance that we could have interactive Python 2 and 3 in separate tabs, so we can use them in parallel and switch between them? I like @ccc's ideas for how that could be used to run two scripts at the same time.
-
@OMZ: Great new beta. Nice icon but to much "Python" and to less "Pythonista". Maybe an icon with both symbols (big old symbol and small python icon within) could do it.
-
@omz how do you plan to handle different versions of modules for Python 2 and 3? We may need two site-packages directories. Note that on desktop,
pip
will only install for Python 2 andpip3
will install for Python 3, keeping them separate… -
Yeah, like "site-packages" and "site-packages3" that's a simple and fast way
-
@omz
console.write_link
seems to be broken in this build. For example,print("foo", end=""); console.write_link("title", "http://example.com/")
prints titlefoo instead of footitle.PS:
Looks like a threading issue.
print("foo", end=""); time.sleep(0.1); console.write_link("title", "http://example.com/")
works as expected.PPS:
And
console.set_color
doesn't work properly either in combination withconsole.write_link
.(Ignore the use of
multiprocessing
, that was just to generate a long traceback. I'm testing a customsys.excepthook
.) -
I'd like if you could add breakpoints by simply tapping on the line number ( like in Xcode)
-
(Sorry for fragmentating the reports but i write them as i discover)
-The pythonista starting script apparently runs 2 times
-Some keys like <> are glitched when you longpress -
The "Run with Python 2.7" option has to be selected every time.
I'll probably keep it this way. It's mostly intended for checking compatibility with the other version, if you want to run Python 2.7 more often, you can use a shebang line (btw.
#!python2
is enough for Pythonista, you don't have to include/usr/bin/env
if you don't plan to run the script on other platforms).If I long-press the "Run" button and hold on an option, it becomes highlighted and changes color. If I slide up and down the options, they all become highlighted without the ones I've moved my finger off of becoming un-highlighted.
I'm aware of that, but it's not that easy to change, unfortunately (the control I'm using there (UIAlertController) doesn't really support theming, and while I could write my own alert popover implementation, it doesn't really seem worth it for this).
Hello. Is there any way to understand whether my beta request was abandoned or not?
I've just sent out a bunch of new invites. If you didn't get yours, please check your spam folder. If you sent me your request via email/twitter (and not this form), I may have overlooked it. Please use the beta signup form.
console.write_link seems to be broken in this build
I'll look into that. I did some experiments to speed up
print
, it probably has to do with that somehow...how do you plan to handle different versions of modules for Python 2 and 3?
I'm not completely sure yet. It'll probably be some variation of "two different site-packages" folders.
In the Task Manager (double click home button) the correct icon is displayed on my iPad Pro, but on my iPhone 6 Plus the task manager will show the old icon, it's weird because they are using the same iOS version.
As I mentioned in the release notes, I forgot to include the new icon for all sizes/resolutions (the iPhone 6 Plus uses 3x images, unlike every other iOS device).
I'm also not sure yet if I'll even keep that new icon...
I'd like if you could add breakpoints by simply tapping on the line number ( like in Xcode)
I don't know, it seems to me that this could easily conflict with putting the cursor at the start of a line, and setting breakpoints is probably not something you do often enough that it needs to be accessible with one tap.
-The pythonista starting script apparently runs 2 times
Yes, once for each interpreter.
Some keys like <> are glitched when you longpress
Hmm, could you clarify that, perhaps with a screenshot? I don't see any glitches here when I longpress the
>
key. -
Hmm, could you clarify that, perhaps with a screenshot? I don't see any glitches here when I longpress the > key.
@filippocld Actually, scratch that, I think I know what you mean now – it only happens when you use the two-row variant of the extended keyboard ("Extended Keyboard with Numbers" in the settings).
-
@OMZ: Is it possible to make the different Standard Libraries (PythonistaKit.framework / PythonistaKit3.framework) visible? I found that some modules have different versions (e.g. dropbox) but only the framework3 versions are shown via "show standard library" which can be confusing (especially for a beginner like me).
-
Is it possible to make the different Standard Libraries (PythonistaKit.framework / PythonistaKit3.framework) visible?
Yes, I have that on my todo list (I got very close to the character limit for the release notes, so I didn't mention it there).
-
@omz about the breakpoints: maybe doing a long press would add a breakpoint and a single press just edit?