How can I get a Python shell on my iPhone? I'm looking for step-by-step instructions.
It's jailbroken using greenpo1son, I have SSH enabled and know how to use it.
You can browse the packages manually here:
http://apt.saurik.com/cydia/debs/
These are the Python related packages:
- iPhone/Python = Example applications including source
- PyObjC = Python/Objective-C connection library
- Python = Packages required to run Python
- Setup Tools = Package manager for Python modules
This guide will get you started running the first script:
http://gentechblog.wordpress.com/2009/10/07/how-to-python-on-the-iphoneipod-touch/
Especially: check the developer filter note, this makes the packages show up.
Here is the introduction to PyObjC by Jay Freeman (including example):
http://www.saurik.com/id/5
But you better start with running simple Python scripts!
Response to your comment:
Why do people keep down voting this? It's an honest question looking for an honest answer!
People on StackOverflow generally don't like requests for 'step-by-step' instructions or request for writing complete snippets of code. The scope of your question is just too wide, you better ask more specific questions. Show what you tried so far and what is causing the exact problem. For example, you show the link with the guide you're following and mention the step that's causing the trouble. If you ask it the right way, people are more then willing to help you. Just show what you tried to fix the problem yourself. I understand your intention is right, I voted you up :)