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
-
@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?
-
Just installed the new Beta and the change notes looked awesome but it crashes on launch. I'm on 8.4 on an iPad 3 for reference and the previous version was working fine. I am jailbroken and have CrashReporter but it doesn't seem to be recognizing the crash so identify an issue that way. Tried deleting and reinstalling and rebooting which don't seem to help. Any ideas anyone, thanks for the help.
-
@RedDrago Thanks, I'll see if there is perhaps some incompatibility with iOS 8 (I don't test that very often, and I might actually drop iOS 8 support entirely in the final version).
-
I have tried several times on 2 iPads to use Testflight to install the latest beta of Pythonista 3 and each time it gets 95% (or so) done and then stops..the install never completes.
-
@ihf How long have you waited? It's fairly common for the installation/download to take a pretty long time, and the progress display isn't always accurate (especially for an app like Pythonista that contains a very large number of small files).
-
@ihf How long did you wait? I remember in earlier Pythonista betas the install times could be quite long, at least 15 minutes or so). Then again, my iPad likes to crash when updating apps, so my install times are probably not normal either. The install times have improved with current betas though.
@omz On the progress meter on the app icon, the download phase is the first 2/3 and the install phase is the last 1/3. On the progress meter in the App Store (and probably TestFlight too), it only shows the download progress and shows 100% for the entire install phase. The displays aren't inaccurate, they are just very strange, and they only show progress, not time spent/remaining.
-
@omz "Dyld Error Message: Symbol not found: NSArray0" seems to be error I'm getting. I tried googling the error and it seems if you remove and add CoreFoundation it fixes it. Or if you make the build target 8.4 that seems to fix it for some. Hope that error helps somewhat. Also makes sense to not support 8 anymore especially since anyone who experienced the horrors of 8 upgraded to 9. I might upgrade soon too and it might be because of your awesome app
-
@dgelessus I have waited hours. It does not complete. I tried deleting the old copy and it still stops just before completing the install. I have not deleted the copy of Pythonista 2.7, is that necessary?