Follow the code
Highlighting, completion and automatic indentation make scripts easier to read and edit.
Python Editor for iPhone & iPad
Write and run Python on the device you have with you. Try a calculation on your iPhone or settle into a longer script on your iPad.

Made for writing code
Highlighting, completion and automatic indentation make scripts easier to read and edit.
Save reusable snippets so the lines you reach for are ready for the next script.
Multiple windows on iPad let you work across scripts. Touch navigation keeps the workspace close at hand.
An extra pair of eyes
Use the Code Assistant to help explain, refine or debug Python. Keep the question specific, then try the suggestion in your script.
“Explain what this function returns, using a small example.”
Explore AI assistance →Adjust themes and editor settings to match the way you like to work.
Use the Python guidebook and learning resources alongside your own experiments.
How do I calculate an average? What does this loop do? Small questions make useful first scripts.
Some features require a subscription. AI services may require your own API key.
A few minutes can be enough
Practise
After reading about a loop, write one. Change its input and predict the next result before you run it.
Calculate
Split a bill, compare prices or calculate a percentage. A few lines can turn a repeated calculation into something reusable.
Experiment
Sketch out a function or try a small algorithm. You can start with the simplest version and improve it as you learn.
Get Python Editor for iPhone and iPad from the App Store.