Python 3.x Progress Update
@Gerzer As I've said, the two versions will co-exist for a while. I don't know yet how long the transition phase will be, and it'll also depend on how much demand for the 2.x version there will still be of course.
Gerzer last edited by
Ok, thanks for the quick reply! I plan to buy the new Pythonista no matter what, of course. :)
ywangd last edited by
Thanks @omz This is now on my shopping list.
It would also be interesting to have a poll to see which version (2 or 3) is more preferred. I personally will most likely to stick to Python 2 for a while.
dgelessus last edited by
This is great news! Can't wait to play around with it. Are
I assume the device requirements will be the same as for Pythonista 2? (I'm still hoping for iOS 7 support to magically come back so my iPhone brick can run the new Pythonista, but somehow I think that is unlikely.)
ctypesare working well.
objc_utilwas actually somewhat tricky to port because of the way strings are handled in
ctypes, but I think that I have most of the kinks ironed out by now.
The requirements will likely be the same as for 2.0. iOS 7 support won't come back, I'm afraid.
athros last edited by
Great news @omz! I'm in for both buying and beta testing!
Curious as to how accessing files between versions will work…
@Webmaster4o It'll technically be similar to how files are shared between the main app and the extension now. All documents already live in an "app group" folder that can be shared between multiple apps (you may have seen that the absolute paths of your documents contain "AppGroup").
So basically, if you have both versions installed, you'll see a "Pythonista 2" folder in Pythonista 3, and a "Pythonista 3" folder in Pythonista 2. That's my current plan anyway.
I really need to get some more iTunes gift cards. On my list of apps to buy include Textastic both for iPhone and iPad, as well as Codea, and now Pythonista 3 😂
OI last edited by
This is GREAT, I plan to buy the new Pythonista as well!!!! and join the Beta program
ccc last edited by
@omz Great news!! I look forward to moving as quickly as possible to Python 3 only. Pythonista was the last thing keeping me on Python 2. I run the Anaconda Python 3.5.1 distro on my Mac and just love it. It will be fun to unify on Python 3 on all platforms. I look forward to the beta program and to buying Pythonista 3 as soon as it is available. Congratulations!!!
Olaf last edited by
JohnFinchPhoto last edited by
This is great news!
Moe last edited by
That's awesome! I'll definitely get that version as well, as I'll just switch to it asap :P
lukaskollmer last edited by lukaskollmer
Great news @omz, can you share a link for beta signup?
dgelessus last edited by dgelessus
Tizzy last edited by
Awesome. Now I'm going to have to change
statements in my scripts for months to come as I run them only to find my lazy ass didn't use
But seriously I'm glad Pythonista is moving forward as it's probably for the best. Now when will OS X ship with Python 3 out of the box???
Also @ccc any reason in particular you use this Anaconda distribution? Is that what you would recommend for everyone on OS X?
Awesome. Now I'm going to have to change print "something" statements in my scripts for months to come as I run them only to find my lazy ass didn't use print("something")
There will be some way to automate this.
dgelessus last edited by
There's this thing called
lib2to3, I hear it's part of the Python standard library. Perhaps that might be useful.
@omz Maybe putting a
lib2to3thing in the action menu would be useful? Like the "Convert Indentation" option, except that it runs
2to3on the file. Would probably be good to save the output to a different filename though,
lib2to3isn't perfect and doesn't always produce code that can run on Python 3 right away.
It will be possible to access files in Pythonista 2.x from 3.x though (and vice-versa).
He said in more detail on twitter that there would likely be a folder in the file browser for the 3.x version which simply displayed all of the files from the 2.x version. I suggested on Twitter that a dialog could be displayed for importing files from the 2.x folder, which would contain an option to automatically run the
2to3program on the files imported. We'll see if that's something @omz chooses to implement.