hi.
i am trying to use two turtles in separate windows simultaneously in python but nothing found yet.
i have tried multithreadding but still the same.
can somebody help me please.
thanks.
fafa70 0 Newbie Poster
Recommended Answers
Jump to Post— Gribouillis 1,391At first sight, I would say that it is not possible. If you look in the source code of the turtle module (in python 2.7), you'll see that the Turtle instances all use a singleton object called turtle._screen. It means that multiple windows are probably not implemented.
Jump to Post— Gribouillis 1,391but i think because turtle library is made from Tkinter and in Tkinter
you can open multiple windows ,in this case you can do it tooI agree in theory, but the turtle module is built on top of Tkinter and is more restrictive. Here is the relevant part of …
All 5 Replies
Gribouillis 1,391 Programming Explorer Team Colleague
fafa70 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
woooee 814 Nearly a Posting Maven
fafa70 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.