Ask coding questions

← Back to all posts
Python Turtle on iPad
PetraJarebrant1 (4)

I´m a teacher and my students all have iPads. We don´t have any computers in class.
I´m trying to do PythonTurtle with iPads.
I have chosen the Python turtle language.
I do the following but I only get the green window. No turtle and no line.

import turtle
wn = turtle.Screen()
alex = turtle.Turtle()

Is it possible to get this to work on an iPad or should I leave it?
What do I use insted to teach Pythonturtle on iPad?

mat1 (2866)

Turtle is a bit weird to use since it doesn't work on mobile and it uses an old Python version (2.6).
I'd recommend learning Python, JavaScript, or maybe HTML.
Python is definitely the easiest for beginners since the syntax is very readable and simple.
JavaScript can be very useful for adding functionality for websites but is slightly less readable.
And lastly, if you want to start with something real easy, I'd recommend HTML although it can get boring fast without CSS or JS.
Please upvote this comment if it was helpful or useful in any way

ash15khng (480)

If you are asked to teach Python Turtle, you should try to set your browser window to desktop mode. Google <browser name (eg. Chrome, Safari)> desktop mode.

conortest (0)

This now appears to work on iOS 13, in both Safari och Chrome, on both iPhone och iPad. Works out of the box i.e. no need to request desktop site (not sure that ever worked though).

snowdena (0)

I too wish it work work on an iPad.

My solution is to use

ConorFoley (0)

I have the same question. Would be great to get support for Python Turtle on iOS devices. I love and really don't want to have to find another platform to make this work!