user8417521
user8417521

Reputation: 1

Why can't the Turtle screen open after running "from turtle import*"?

I am running Windows 10 and unable to open the Turtle screen with the command

from turtle import*

I get the following message:

RESTART: C:/Users/xxxx/AppData/Local/Programs/Python/Python36-32/new.py

I have tried reinstalling but not luck..can you help?

Upvotes: 0

Views: 862

Answers (1)

cdlane
cdlane

Reputation: 41895

Two things:

Thing 1: this answer to a reddit question on getting RESTART: message states that it's not an error but just part of how IDLE restarts itself.

Thing 2: on my system, not using IDLE, the command from turtle import * is not sufficient to open the turtle window. Follow it with a Screen() command, for example, to open the window.

I hope that helps!

Upvotes: 1

Related Questions