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.
Pythonista for Python 3.x.
-
Hi ccc. - My desktop PC and my laptop are in my home office. I practice my computer hobby from an armchair.๐
I've got 'Python 3.4 for IOS' on my iPad but can't get IDLE. If push comes before pull, then suppose I will have to settle for 2.7 on Pythonista.
When I became a silver surfer and the proud owner of an iPad I thought that was it, but things do move on rather quickly in this day and age. -
Just so we are clear,
Python 3.4 for iOS
is utterly useless.It is based on Python 3.4.0__a0__ (which never existed) instead of the current Python 3.4.2. It does not support any of the new features of Python 3.4 (asyncio, etc.). Has not been updated in the past 20 months (as you say, things do move quickly these daze). Its author has not logged in its user forum in the past 20 months. It has no support for sound, graphics, UI, numpy, etc. And finally, it crashes left and right. In summary, it is not highly functional.
-
0k ccc - Pythonista it is. I'll be back ๐
-
@Steep I use RPi via prompt ssh client on ipad. I use a combination of pythonista and vim over ssh for my coding needs. It works really well. I use pythonista ui module for my ipad interfaces and tkinter for pc interfaces. To transfer projects back and forth I use shellistas, ssh/scp plugin. You can also run SimpleHTTPServer in pythonista and use wget on the rpi to grab files.
-
I'm going to add my request / vote / plea for a version of Pythonista that embeds Python 3. I've been developing some scripts, on my Macbook, with Python 3 and I quite like the language improvements over Python 2. I'd love to be able to use those same language features on my iPad as well. My credit card is out and I'm ready to buy "Pythonista 3" whenever it hits the app store.
-
IMO, I'd prefer Pythonista to stick with 2.7.x as long as that remains the default install on OS X. That way, scripts I write on my Mac or on my iPad are portable between the two systems with as little hassle as possible.
-
roosterboy: AgreedโI'm holding onto Python 2 as long as I can. Even if Python 3 is better, there are still things that don't support it, and I'd rather be consistent.
-
I mostly agree with @roosterboy - the preferred version for Pythonista should be what's included in the latest version of OS X. On the other hand, Python 3 is going to become more popular as time goes on, and eventually when we switch, a lot of things are going to break.
@omz, you mentioned you can't include two versions - is this an Apple limitation?
Here's what I'd like to see in the ideal case. First of all, Python 3 support should be a major paid release. That's a lot of work and you deserve the support. ;) I'd also be perfectly happy waiting for P3 support until Apple makes it the default. When you do, assuming it's possible to have both versions, include P3 and make it the default interpreter, but allow files to have a special comment that, included as the first line of the script, will make it use Python 2.x. You could even add that line to each file as part of the upgrade process, then warn users that new Python 3.x scripts won't be compatible with the old ones.
Most importantly, don't worry about moving along too quickly. I'd rather have an older, stable Pythonista than an unstable version with the newest language features. ;)
-
I too would be willing to pay for a version of python 3. I think there should be both 2.X and 3.X both sperate applications. That would allow those who have appliations in 2.X to continue to run their applications and allow those who want to write new applications in 3.x to do so. Going from 2.x to 3.x is a major upgrade and it's only fair that you should be conpensated for all your hard work.
-
Python v3.4.3 was released today. It is the last release listed in the Python 3.4 release schedule (PEP 0429).
The first alpha release of Python 3.5 was also released earlier this month. If releases continue to follow to the Python 3.5 release schedule (PEP 0478) then Python 3.5 will be released in September 2015.
Still no word on Pythonista moving to Python 3.
-
I have never used Python 3, so this isn't really a big concern of mine right now. Just thought I'd point out that apple made the concern about multiple apps less of a thing with the introduction of app bundles. You could give users free or discounted access to the second version once the first one is purchased.
-
How exactly do bundles work if you already own one or more of the apps in it? I know that bundles can have a lower price than the individual apps, and that there is a "complete the bundle" option to purchase all missing apps, but do the two work together? I wouldn't be surprised if Apple would make you pay the full price with the bundle completion option.
-
@dgelessus If you already have one or more apps in a bundle, the price you paid for them is subtracted from the bundle price. It is really the price you paid, not the current price in the App Store, so it makes a difference if you bought the other app(s) at a discount for example
-
That makes a lot of sense actually, otherwise you could get bundles for a lower price if you got one of the apps for free as "App of the Week" and such. Does that mean that you could even get bundles for free if you already have most of the apps?
-
dglessus: When I tried that (with the Mikey Shorts series), it bugged out and said "This item is not available in the US store."
-
I am also a newbie to Python and Pythonista (I also own Editorial, which I don't use). I was a C programmer many years ago (retired many years now). I am Learning Python as a hobby, and love I can do it on my iPad Air 2. So impressed with Pythonista, prefer using it over PyCharm on my desktop. (To be fair, maybe I have not configured PyCharm correctly as I am still learning).
But I have read most of the threads here. I concur with most about paying for a new version that somehow incorporates Python 3, in whatever way is technically possible/feasible! Also willing to open the pocket for funding, however according to @omz funding is not the issue. But still willing to do it. I would kick in 1,000usd or more! But my thoughts are that how long can @omz afford not to migrate the code. Does Python progress to a point were it becomes such a daunting task to get Pythonista up the the current version of Python? Of course I have no idea what's involved, but common sense tells me the bigger the gap between the implementations of versions the harder it will be to get Pythonista up to date, so to speak!
As a side note, I would love to see Pythonista's UI module/s ported to mac "OSX". So nice and easy to use for quick and nice GUI. I also would happily kick in for that project also! If it had a wrapper that allowed you to run the same code written on iOS to work on "OS X" that would be truly amazing in my view. Would also give us the ability to send the programs 2 ways. Final word, is I really love Pythonista, will support @omz in anyway I can
Ian -
@Phuket2 - I certainly would love to have the ability to run either Python 2 or Python 3 code in Pythonista and think it would suck to have it as two seperate Apps. That would mean two seperate Document areas and lots of problems with shared code, etc.
It turns out that it IS technically feasible to use dynamic libraries on IOS but only as a developer. You have to be able to sign these components and bundle them and Apple will not do that. However as a "developer" you can do it with the available XCode tools. This makes me wonder if there would be a way to accomplish this if the user is also an Apple developer and capable of signing components from a desktop machine. This would certainly limit the market to people willing to pay the $100 to get a developer liscense, but most of users who desire 3.x support seem more then willing to pay that. You would also need to have a Mac desktop or laptop to sign and install the app. Just thinkin :-)
-
This makes me wonder if there would be a way to accomplish this if the user is also an Apple developer and capable of signing components from a desktop machine.
That's probably not possible, at least not without jailbreak โ I would guess that all components of an app have to be signed by the same developer (or Apple).
Aside from that, bundling multiple Python versions might be a possibility on iOS 8 via dynamic frameworks (the same mechanism that Apple recommends for sharing code between apps and extensions). I haven't tried this at all, and frankly, it's unlikely that I'll get to it in the near future, but the way I imagine this could work would be by bundling two different frameworks and loading one or the other on startup, depending on a user setting. This would almost certainly require restarting the app to switch interpreters, but since it's not something that you're likely to do often, I think that would be acceptable... Again, this isn't something I'm actively working on, but it could theoretically be a way to avoid having multiple apps in the future.
-
@omz - I found this detailed article by a developer who was trying to find a way to implement plugins on iOS. He got it all working and found out that the only thing preventing it in production is Apple not being "able/willing" to code sign it. Have a look: http://realmacsoftware.com/blog/dynamic-linking
It is also worth noting that the developer thinks this a major issue that is holding back the iOS platform.
-
@wradcliffe, sorry for the delayed response. But I won't reply regarding your comments :) is over my head at this stage. I am too new to have any valid reply. As a newbie and wanting to learn Python on iOS got me searching here. Just see there are different syntaxs etc between 2 and 3. Just thought it would be more prudent for me to start on py3 giving I am just starting out. It from the little I have put together so far about what's available, I will certainly stick with Pythonista. As I said while I am not new to programming, it's just a long time ago. So many things have changed, and I find it is still a steep learning curve. Even though it's just a hobby for me, I still want to write Python properly. I see so many references to how easy Python is to learn, and to a degree, I agree. But when you take everything into account, regarding IDE's, all the different modules that can give you similar functionality etc... It's a little mind boggling. But fun. Ok, sorry I digresed!
Bottom line, would still love to see py3 in Pythonista, but it's not the end of the world if not. I am using PyCharm on my Mac, can switch between the 2 project by project as far as I can see.
@omz , really love your product. So stable and fast. I am on a iPad air 2. More stable a better than a lot of the other Mac Python apps I have used on the mac, with the exception of PyCharm (yes big cost difference also) I really wish you would consider a donate (PayPal) on your site. In all honestly, I think your product is too cheap. Thanks for a great product