Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Python (Turtle) External Error

Babbel
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?

4 years ago
You are viewing a single comment. View All
1
CoolqB
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.

4 years ago
2
Babbel
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.

4 years ago