About 34,600 results
Open links in new tab
  1. How do I import another turtle in Python? - Stack Overflow

    May 13, 2022 · You do not want to import a second turtle, but to instantiate a second turtle. Importing refers to importing a library, which runs the library code and allows you to access all …

  2. Python module turtle not importing correctly - Stack Overflow

    Apr 29, 2020 · This is my first time using the turtle module in python but I can't seem to import it? Here's my code: import turtle turtle.shape ("turtle") turtle.speed (1) turtle.forward (100) turtle.lef...

  3. python - What is the difference between `import turtle` and `from ...

    The difference is, well, obvious -- one of them keeps your namespaces separate, the other doesn't. In general, use the import turtle approach -- that way you always know which module …

  4. Why can't I import my turtle module in Python? - Stack Overflow

    Jun 4, 2021 · 0 When importing a module in python, you can import using import turtle and you need to specify the module before each function like

  5. How to play GIF's using turtle module in Python?

    Dec 1, 2019 · 2 From reading the turtle documentation, here, I don't see anything that says animated gifs can be played within turtle. You are free to read the documentation yourself, but …

  6. Can't import turtle module in Python 2.x and Python 3.x

    I try to import turtle module. And python interpreter search turtle module and first seek turtle.py in my current folder instead of turtle.py from python library directory.

  7. python - i keep getting an error when i try and import turtle

    Honestly, I'm here because I can't get any example from any of the pages I've found for the python turtle module to work. My Python is version 3.7.4 on Windows 10, installer obtained …

  8. import - Creating a screen on python (turtle) - Stack Overflow

    Oct 29, 2021 · For an assignment, I have to create a turtle program on python which uses recursion to draw a shape. However, I am unable to even create the necessary screen to draw …

  9. Drawing with turtle(python) using PyCharm - Stack Overflow

    Jun 6, 2017 · I'm running the latest PyCharm Pro version and trying to run the below code from a scratch file but it doesn't seem to work import turtle wn = turtle.Screen() alex = turtle.Turtle() …

  10. How to initialize multiple turtles in Python with classes

    Nov 17, 2015 · 2 I am a beginner at Python and I'm new to Stack Exchange. I'm trying to write a program that has 5 turtles moving within a square. I've got code that does what I want, but it's …