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.
Time to release a new version to App Store
-
There is pretty neat Python 3.7 implementation, called Pyto.
It supports numpy, matplotlib and ... pandas!
I just wished it had the same Scene interface as Pythonista or even better supported tkinter or pygame. -
@upwart Quid about Objectivec?
-
Pyto iirc has Rubicon for objc, which is similar to objc_util. It does have a UIKit module, but it is a little lower level than pythonistas UI module.
@Ipl, pyto is open source, and is updated frequently. Since that is a priority for you, you should go hang out in the pyto forums.
-
@JonB your @Ipl did not work, it is @lpl
-
@lpl said:
So do you mean if I bought this for 100$ then I can worry about the future of the Pythonista?
My comment was about switching costs which are defined as relative costs.
-
@JonB I don't like its UI. So I came back.
-
@ccc I just bought an app and no services?
So do you mean that I bought this then I should sit on the bench patiently and hope author won't give up? If I said, hey, you should share something for us or just reply the message, then I'm not a good customer and I should feel ashamed and shouldn't use this app any more?
If not, why are you keep asking me to switch to another app? Sorry I can't get it. Why don't you confront my question? SHOULD THE AUTHOR REPLY THE EMAIL OR SHARE NEWS ABOUT APP WHEN HE HASN'T UPDATED APP FOR 17 MONTHS? -
I have had the privilege to meet Ole face-to-face a few times in Berlin and I understand his perspective. It is difficult to create a full featured Python on iOS devices. Apple does not make it easy. Lots of models, os changes, lots of changing rules from the AppStore, and an app submission process that requires the patience of a saint. Doing the management of this forum and Slack and docs plus his other apps and living a life beyond the screen is a strain.
Python is growing so fast in so many directions these days that there are tons of new packages/modules/libraries every month. Many Pythonista users want to be able to do everything on their iPad that they can do on their Mac without any regard to the constraints that Apple places on iOS app multiprocessing, single binary, etc. The data science crowd wants all of the Anaconda distribution running on their iPads. When key libraries like NumPy or Matplotlib are ported, there is little sharing of code/examples on the forum so are those efforts really building any community around the Pythonista app?
Pip is a nightmare all on its own especially in the face of Apple’s iOS constraints. Many users view it as a Pythonista bug when pip install in StaSH doesn’t magically compile the C or Fortran code in their dependencies into something that the iOS sandbox is willing to run. Helping Pyto through a few of these nested dependency issues for basic packages like flake8 and mypy has demonstrated to me what a minefield this can be.
Bottom line: Pythonista is awesome. Pleasant ui/ux, a strong core engine, docs, community forum, Slack, and nice add-ons including objc and ui. The app has incredible value given its purchase price. Updates will come when they are ready to ship so please have patience.
If you are pacing back and forth full of impatience then please do not belittle the hard work of others. Instead, get busy helping Adrian to improve Pyto. He is young, smart, energetic, responds quickly to issues / pull requests and releases new versions often. If you do not like its UI then submit pull requests until it is as great as you need it to be.
-
@ccc Plz don't talk about Pyto any more. I SAID I don't like the UI, and I'm not a developer for iOS. So I can't help him but I did share this app to my friends.
Still I don't understand that. He can share news with pythonista or just send a twitter like "I'm still work on pythonista." So my friends won't ask in Telegram again and again, did the author give up?
And I just want to know why my friends(in a Telegram group for Pythonista) feel disappointed and all of you just say sit down and calm down, and try Pyto? -
@lpl Hi, I can understand your disappointment, because omz in the last year was significantly more absent on this forum than some years ago. People who bought Pythonista in the last year are less lucky (in my opinion) than people who bought Pythonista in previous years, due to less support by omz on this forum in the last year compared to previous years, so for this reason (in my opinion) people who bought Pythonista in the last year feel more abandoned than others. I should say also that in this forum you will find a lot of info about Pythonista written by a lot of great people, you know omz can't answer every question personally, especially if the questions are often the same made by different people.
Unfortunately for us (who buy softwares) the cost of a software does not always means that the author provides future updates included in the purchase; about Pythonista you pay once for the application itself and the author has not specified anywhere that he will release regular updates (in other words, like someone already said before in this forum, when you pay about $ 10 for Pythonista, you pay only the app, not future updates because nowhere it is known that the $ 10 also includes updates). It is also for this reason that those who bought Pythonista some years ago were more lucky to pay for the same price the app and to see several updates of it.
I use only (I think) some little percent of all features provided by Pythonista, that is one of the very few apps in AppStore that tries to be customizable through ObjC. It is really powerful and if you can perform experiments on it, you could improve a lot of things of Pythonista without needing any updates by omz. But I suppose that it is possibile to perform experiments on ObjC for Pythonista only if you have XCode and a Mac computer...
If you, instead, wants to be able to install anything on Pythonista, unfortunately not even the powerful and mysterious objc world can allow you to install anything you want, it needs suitable full C-Fortran compiler, and in ios world it doesn't currently exist. But even if it existed, in order to create your application with some not-pure python code, you should pay Apple to install on your iPhone or iPad your app... So you understand that Apple make things a little strange...arousing the disappointment of many people, which then attack the developer...
I'd like to ask you what would you expect in a new version of Pythonista, regardless of the fact that the author does not answer frequently on the forum and gives poor info about his app in the last year?
Bye -
@Matteo said:
I suppose that it is possibile to perform experiments on ObjC for Pythonista only if you have XCode and a Mac computer
Hello, I agree with almost 100% of what you said.
For info, I have a Mac (that I no more use) but not XCode, and all I have programmed using ObjectiveC has been done with Pythonista
-
@Matteo I understood that I can only install pure python modules and I think it is good enough for most of us. I hope pythonista can upgrade the modules like numpy, PIL and others. And I'm waiting for the features about siri. And I think all of you have seen that many people are still waiting for Pandas.
-
@cvp Hi, but which tool do you use to learn objc using only Pythonista? Any particular library written by someone here? Where do you find documentation about it? And can you make experiments in a protected environment (any sandboxed environement inside Pythonista main folder) on your idevice without risks to delete anything if some objc tests are not what you expected? only to learn something, not to become a objc guru :-)
@lpl Hi, yes I'm agree with you about some old not-pure python libs, but only if you need to use some extra-new features of the new versions of numpy, matplotlib, PIL, ... I mean, about your use of Pythonista, really you need new features of new libraries versions listed by you or you can do what you want with the old ones built-in? For example, which kind of great new features the new version of numpy can offer compared to version 1.8.0 version of Pythonista? Remember, also if you had the newest version of numpy on Pythonista, you could not install anything not-pure python that requires the last version of numpy, and any pure-python library that requires the last version of numpy could be modified to be used with the old built-in numpy version (not always, you are right, and only if you know how to modify it, but generally it is possible).
About Siri, which kind of innovation could exist for people who write python scripts with Pythonista? You know, about Siri I'm still waiting for Apple to add in iOS a feature that allows me to automatically answer incoming calls with Siri and to end a call at any time when I say with my voice a word that I saved in a Siri database (but it doesn't exist)... Sorry but I can't see any great advantages in developing Siri capabilities in Pythonista, can you suggest me someone? In my opinion it is better if someone could create an interface to use Pythonista on any computer with big screen, with a bluetooth connection (for example). I mean, I would use more and more Pythonista if I could link it to any computer that I use in order to use big keyboard, mouse, big screen, and to have on computer screen all keys, buttons, windows that I see on my iphone when using Pythonista.
Regards
Bye -
@Matteo The doc I use is only the Apple developer doc...You find there all classes documentation.
Often, I only type dir(ObjCInstance(any Pythonista object)) and I spend some time to check the methods and properties listed -
@Matteo You can't imagine what you can find with our big friend Google
Try this little script, only to see what you could do with Pythonista
And read this interesting topic and this one# https://rambo.codes/ios/2019/01/11/hacking-with-private-apis-on-ipad.html import ui from objc_util import * NSBundle = ObjCClass('NSBundle') UIWindow = ObjCClass('UIWindow') UIColor = ObjCClass('UIColor') window = UIWindow.new() window.setBackgroundColor_(UIColor.darkGrayColor()) NSBundle.bundleWithPath_('/System/Library/PrivateFrameworks/SpringBoardUIServices.framework').load() controller = ObjCClass('SBUIPowerDownViewController').new() window.setRootViewController_(controller) window.setHidden_(False) def close(): window.setHidden_(True) ui.delay(close,5)
-
@Matteo Like this? https://pillow.readthedocs.io/en/stable/releasenotes/3.4.0.html#append-images-to-gif
And for siri, we can get weather from different resources. Or we just roll the dice to make a decision.
-
@lpl said:
for siri, we can get weather from different resources
Sorry, I don't understand what you want to do with Siri
-
@cvp
-- Hi, siri how is the weather?
-- Here are some reports from different resources.-- Hi, siri. Should I go with her?
-- I roll the dice. The answer is yes. -
@lpl I think you can do that with the beta version, isn'it?
You have even Examples/Roll Dice.py
-
@cvp yeah. I'm using this.