Skip to content
Sign upLog in
← Back to Community

Does the turtle module not work anymore?

Profile icon
ghostlys

I am a beginner starting to learn Python and have been following some Tech with Tim tutorials. I am learning about how to use the turtle module and created one project with it. Now when I go to see it, the screen wont appear. Is this just me or did something change?

Answered by ATgamestudios [earned 5 cycles]
View Answer
Voters
Profile icon
ATgamestudios
Profile icon
ghostlys
Comments
hotnewtop
Profile icon
ATgamestudios

You need to make a special repl that includes turtle

Profile icon
ghostlys

@ATgamestudios
Thanks, its just that I used a regular repl with Python 3 and I didn't have to use Python with turtle

Profile icon
Zeune

Please be aware when using Turtle not all functions maybe available.

So, repl.it uses an open source technology called Skulpt to run Python code in a browser.

http://skulpt.org/

It seems repl.it communicates with Skupt through an API. I found the Turtle API documentation here:

http://www.pythononline.ch/pyonline/progs/doc/skulptturtle.pdf

If you look through the API documentation you will see that the turtle.shape method is included, but some of the other sizing methods like turtle.resizemode & turtle.shapesize are not included in the documentation. This is why we could change the shape and it wouldn't give us an error but it would for the other methods.

So, this seems to be a lack of functionality in the API. Skulpt being open source, I guess we could add it if we had the ambition!

reference: https://repl.it/talk/ask/Turtle-python-resizing/7312

Profile icon
volcanic3007

What should I do when the turtle window is not loading? I've tried using the project with the python turtle module and separately imported it. Both the times it has not working and is causing problems. Can someone please fix this ASAP?

Profile icon
QtipAnimsYT

I'm having problems with turtle too! I was trying to practice with it and every time I ran turtle.speed it would work but when I reopened the project, it wouldn't work until I erased all my code and rewrote it. I don't think it's a problem with turtle, considering it works on other coding platforms. I think it's a problem with replit but they are ignoring people who say its a problem. :(

Profile icon
ghostlys

Nevermind, my program works fine, it was just oddly acting up