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
  setup() from turtle module not working bobfat 7 207 Oct-28-2019, 11:05 AM
Last Post: newbieAuggie2019
  Turtle canvas background joshp2709 1 212 Oct-05-2019, 06:59 PM
Last Post: newbieAuggie2019
  Can't install turtle Josh_Python890 0 316 Sep-07-2019, 07:26 PM
Last Post: Josh_Python890
  Why is left mouse click not working? yeto 3 292 Jul-15-2019, 05:23 AM
Last Post: Yoriz
  Nested while loop problem + turtle DreamingInsanity 3 340 Jul-06-2019, 02:01 PM
Last Post: DreamingInsanity
  Python Turtle and order of implementation query Parsleigh 2 407 Mar-04-2019, 02:43 PM
Last Post: Parsleigh
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 1,273 Feb-06-2019, 01:25 AM
Last Post: woooee
  F-String not working when in IDLE editor nadimsarrouh 5 777 Jan-29-2019, 10:02 AM
Last Post: nadimsarrouh
  why won't my turtle move ironsheep 6 943 Nov-15-2018, 04:17 AM
Last Post: ironsheep
Photo Problem installing turtle MasterJediKnight7 16 6,462 Nov-11-2018, 10:42 AM
Last Post: MasterJediKnight7

Forum Jump:


Users browsing this thread: 1 Guest(s)