News for hackers. Stuff that matters.
Re:Show HN: iOS app for learning Python by ksikka on Tuesday July 22, 2014 @02:29PM (#8070714)
but how do you try out the python code - say in a REPL - in an iPhone app? wouldn't you need a computer anyway?
Re:Show HN: iOS app for learning Python by villek on Tuesday July 22, 2014 @02:54PM (#8070890)
In my app, you cannot try out the code. You can step through the execution to see how the program state changes, but that's based on a pre-generated trace of the program execution.

In Pythonista and 'Python for iOS' mentioned by ldayley you can execute the code you write. Don't know how they do it, though.