Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Help! Turtle not working, even when we click the turtle demo in IDLE nothing happens.
#1
Any help appreciated, learning python with young son and both complete beginners, son is going well and has been creating basic programs, he is just trying turtle and it just doesn't seem to be there. Even if he tries to open the turtle demo in IDLE nothing happens at all no new window nothing - completely uninstalled and reinstalled 3.7.2 no difference - doesn't seem to be anything he's doing so wondering if there are any other things/ settings that may need changing??? - any help would be much appreciated - Thanks
Quote
#2
Try running the demo from the command line. If there's an error, you'll be able to see it (instead of the window just closing before you can read it). Plus, IDLE is well known within the python community to be a really bad editor that doesn't even work with some modules.

Once it works from the command line, then try getting it to work from an editor. And once you're at that step, I personally think Visual Studio Code is a great (and free) product from Microsoft: https://code.visualstudio.com/
Quote
#3
Hi nilamo - sorry but can you elaborate "Try running the demo from the command line" at the moment he is trying to run it from the of the three drop down options in the menu under Help. How is that done?
Quote
#4
I'll elaborate. He/She meant to use python to bring out Turtle. Here.
import turtle         #Essential
turtle.Pen()          #Essential
tp = turtle.Pen()     #Helps to make it easier to type
tp.left(90)           #The rest is code to test it out
tp.color('red')   
tp.right(145)
tp.color('green')
tp.forward(120)
tp.left(145)
tp.color('blue')
tp.forward(100)
tp.right(90)
tp.penup()
tp.forward(50)
tp.pendown()
tp.right(90)
tp.forward(100)
tp.right(180)
tp.color('red')
tp.forward(40)
tp.right(90)
tp.color('green')
tp.circle(30, 180)

Age Doesn't Matter, Your Passion Does
- Shreya Jain
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Turtle python graphics Y0sh1 6 308 Jun-10-2020, 10:05 AM
Last Post: DPaul
  turtle window not showing yokeloonlo01 3 191 May-29-2020, 09:41 AM
Last Post: pyzyx3qwerty
  how can I change xcor and ycor of the turtle if i am using classes MohammedSohail 1 176 May-22-2020, 06:28 PM
Last Post: deanhystad
  turtle.Screen() not working Jdawgg531 0 224 May-04-2020, 12:43 AM
Last Post: Jdawgg531
  Cant define turtle color with function argument Wrightys99 2 201 Apr-22-2020, 01:43 PM
Last Post: Wrightys99
  make a turtle object an image Agusben 2 296 Apr-15-2020, 01:47 PM
Last Post: newbieAuggie2019
  For loops help, using python turtle SemiBeginnerPY 2 525 Mar-10-2020, 10:46 AM
Last Post: SemiBeginnerPY
  demo not running for me - getting keyError wolf8963 4 457 Feb-13-2020, 03:54 PM
Last Post: wolf8963
  Python Turtle Help codinghero 1 557 Jan-04-2020, 12:46 AM
Last Post: ichabod801
  setup() from turtle module not working bobfat 7 932 Oct-28-2019, 11:05 AM
Last Post: newbieAuggie2019

Forum Jump:


Users browsing this thread: 1 Guest(s)