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 PostAt 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 PostThe only time you can do multiple things at once is when you use a tool for that, like multiprocessing or parallelpython, otherwise you have to do things one at a time.
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.