5 ms·
Is this a fully capable interpreter? In other words, is it capable of importing and running code from external sources? This would allow for some cool use cases
by micheljansen 15y ago
Is this a fully capable interpreter? In other words, is it capable of importing and running code from external sources? This would allow for some cool use cases.
- timothya 15y agoI believe the AppStore restricts running external code, so even though it would be possible, I don't think such an app would be approved.
- JonathanHosmer 15y agoUnfortunately, Apple rejected my last update because I had added the ability to import .py files from other Apps. If/When Apple changes their policy on this I will submit an update the next day.
- Nitrof 15y agoFrom your example, I can see it is possible to import sympy, and the app store page says that you added a few "extra" packages. Could you list those extra packages on your website? Since it is not possible to import files for now, would you take requests to add new packages to that extra list?
- JonathanHosmer 15y agoCertainly, I'll list them on the site. I would love suggestions on other modules to include. At the moment I'm working on compiling in SciPy and NumPy. Any ideas can be sent to feedback@pythonforios.com or posted in the in-app Feedback Forums (via the Settings Tab).
- rsynnott 15y agoAs it provides exec and a HTTP client, it more or less is. Here's an example, with code to make loading a multi-module library feasible: http://myblog.rsynnott.com/2012/02/fun-with-python-for-ios.html http://myblog.rsynnott.com/2012/02/fun-with-python-for-ios.h...