Skip to content
Sign upLog in
← Back to Community

Python (Turtle) External Error

Profile icon
Babbel

Why do I get this error sometimes?
ExternalError: TypeError: /\((.*)\)/.exec(...) is null on line 2

The first two lines are
import random
import time

Doesn't look like repl.it can fix it, but I would like to know why it occurs.
Does someone know what it means?

Voters
Profile icon
Babbel
Comments
hotnewtop
Profile icon
hannahbajhau1

ExternalError: TypeError: Cannot read property '$speed' of undefined on line 3

Profile icon
CoolqB

Python (With Turtle) doesn't use the normal version of Python you're used to, instead it uses Skulpt, which is a remake of Python which runs in the browser.

Could you point me to the repl producing this error? I have a feeling this error isn't generated from line 2.

Profile icon
Babbel

@CoolqB
when i ran it on another device it worked. I had this problem in other repls too. Sometimes it works and sometimes it doesn't. So i don't think there's a problem with the code.