Possible Duplicate:
Python or Ruby Interpreter on iOS
I just discovered this apps pypad and python for ios
They have like an interpreter an editor
So which app would you recomend
But most importantly, how does this interpreter work, and where can i see an example of how the obj c and python get to work togheter?
Thanks!
I am the sole creator of Python for iOS so that is of course what I would recommend, but a good indicator for your personal decision is the reviews & ratings of each App. It took me weeks to figure out how to properly integrate python into Objective-c for this App but here is the best resource to get you started (keep in mind that ObjC is just a superset of C):
http://docs.python.org/c-api/
Also, here is an example of calling a function defined in
myModule. The equivient python would be:In Objective-c:
For much more documentation check out: Extending and Embedding the Python Interpreter