News for hackers. Stuff that matters.
Re:Python for iOS by micheljansen on Saturday February 25, 2012 @09:45AM (#3633015)
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.
Re:Python for iOS by JonathanHosmer on Saturday February 25, 2012 @05:05PM (#3633968)
Unfortunately, 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.
Re:Python for iOS by Nitrof on Saturday February 25, 2012 @05:30PM (#3634035)
From 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?

Re:Python for iOS by JonathanHosmer on Saturday February 25, 2012 @05:53PM (#3634092)
Certainly, 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 [email protected] or posted in the in-app Feedback Forums (via the Settings Tab).
Re:Python for iOS by timothya on Saturday February 25, 2012 @10:17AM (#3633086)
I believe the AppStore restricts running external code, so even though it would be possible, I don't think such an app would be approved.
Re:Python for iOS by rsynnott on Saturday February 25, 2012 @11:35PM (#3634837)
As 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.h...