[New-bugs-announce] [issue25552] python turtle page does not run

Anthony C report at bugs.python.org
Wed Nov 4 21:00:19 EST 2015


New submission from Anthony C:

Making this simple code to mess with turtle well it seems like after awhile I have encountered the window = turtle.Screen() doesnt seem to even open it up only the shell window and does nothing afterwards. Its quite annoying especially trying to practice with it and it doesnt work.

import turtle

def draw_square(some_turtle) :
        for i in range(1,5) :
            some_turtle.forward(100)
            some_turtle.right(90)

def draw_art() :
    window = turtle.Screen()
    window.bgcolor("red")
    brad = turtle.Turtle()
    brad.shape("turtle")
    brad.color("blue")
    brad.speed(2)
    for i in range (1,4) :
        draw_square(brad)
        brad.right(10)

    window.exitonclick()

----------
files: movies.py
messages: 254078
nosy: Anthony C
priority: normal
severity: normal
status: open
title: python turtle page does not run
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file40942/movies.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25552>
_______________________________________


More information about the New-bugs-announce mailing list