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
-
@JonB , hmmm, I don't really know how to download my own docs. I hope I don't have to learn. But if it was just a button inside Pythonista , or several buttons based on the Libs installed, that would be fine.
But I am sure you understand all aspects of scalability. There are pros and cons of course in all aspects of it. Is not only help files, many other resources also. Even ones that don't exist in Pythonista today. I have also had to deal with these issues in the past. Not exactly the same , but same idea. It gets very complicated, as there are so many ways to skin the cat so to speak.
At the end of the day, personally I would like @omz to have a way to extend Pythonista in many ways without changing his workflow for the app. But I recognize to build in this functionality will not be trivial, of course if you can assume everything is local it's easier
-
If it's possible to switch between Python 2 and 3 interpreters without killing the app, would it be possible to do a proper interpreter restart before each script run?
This doesn't fundamentally change how scripts are run. The interpreter(s) still live in the same process as the main app, so shutting them down completely isn't really possible for a variety of reasons.
-
Ah okay. Do the Python 2 and 3 interpreters run at the same time, or can only one be "active" at once?
-
@dgelessus They could theoretically run at the same time, but the UI doesn't allow this.
-
So I could run a Python3 AsyncIO backend with no UI and a Python2 UI rich frontend in parallel inside a single iOS process?? Hypercool.
-
@dgelessus Do you know if there is a way to copy/paste the traceback error from in pythonista or do I just need to type it out by hand into the forum? It was a bunch of levels deep, but I don't have my ipad with my to copy it right now.
I didn't change any code as I couldn't figure out how to modify the dropbox module that is built in. Clicking on the links in the traceback shows the relevant files in read-only. That's why I posted here asking if updating the module using the new SDK is something I can actually do myself. I assume @omz has this on the to-do list now?
-
@Skeo You could
traceback.print_stack()
and copy that (that may not be the exact name, check the documentation for thetraceback
module. -
@Webmaster4o I think you want
traceback.print_exc
ortraceback.print_last
.traceback.print_stack
only prints the call stack, which you can do even if no exception is raised. -
How is the development going? It's been almost two weeks now
-
Same here, I am really eager to test the next version !!!
-
@filippocld @OI I've just uploaded a new build to TestFlight – it's still processing, so I probably can't push it until tomorrow (getting pretty late here). There are still some rough edges in the debugger and the whole Python 2+3 integration, but it should be usable overall.
-
@omz Thanks
-
@omz When in doubt, blame daylight saving time.
;)
(Explanation for non-Europeans: Our DST just began last weekend.)
-
@dgelessus My DST started about 2-3 weeks ago I think. I can't remember. Just remember being tired :)
-
I have no DST!
#whyisthesunupat4am -
@omz Update looks really good! First things I noticed:
- Great new icon!
- The "Run with Python 2.7" option has to be selected every time. My idea on this is:
- Have a small number 2 or 3 shown in the bottom right of the "Run" icon to show whether Python 2 or 3 is selected to run
- If a user selects the "Run with Python 2.7" option manually, change the indicator to say 2.
- The interpreter would run with Python 2.7 until the user long-pressed the run button and selected a "Run with Python 3.5" option.
- This toggling behavior would make using Python 2 vs 3 easier if a user prefers one over the other but still wants to switch quickly. I think a user wants to use the same interpreter they just did a second ago more often than a user wants to switch interpreters.
- 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 love the new icon, nonetheless after the app has been installed I still have the old icon from the previous beta. I tried removing and re-installing again, the same thing, still the old icon
-
Hello. Is there any way to understand whether my beta request was abandoned or not?
-
The icon is good! Now it's downloading :-)
-