Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs #74737

Closed
Mahira mannequin opened this issue Jun 2, 2017 · 1 comment
Closed

Bugs #74737

Mahira mannequin opened this issue Jun 2, 2017 · 1 comment

Comments

@Mahira
Copy link
Mannequin

Mahira mannequin commented Jun 2, 2017

BPO 30552

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2017-06-02.11:29:36.025>
created_at = <Date 2017-06-02.11:07:51.978>
labels = []
title = 'Bugs'
updated_at = <Date 2017-06-02.11:29:36.024>
user = 'https://bugs.python.org/Mahira'

bugs.python.org fields:

activity = <Date 2017-06-02.11:29:36.024>
actor = 'Mahira'
assignee = 'none'
closed = True
closed_date = <Date 2017-06-02.11:29:36.025>
closer = 'Mahira'
components = []
creation = <Date 2017-06-02.11:07:51.978>
creator = 'Mahira'
dependencies = []
files = []
hgrepos = []
issue_num = 30552
keywords = []
message_count = 1.0
messages = ['295005']
nosy_count = 1.0
nosy_names = ['Mahira']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue30552'
versions = []

@Mahira
Copy link
Mannequin Author

Mahira mannequin commented Jun 2, 2017

Hai Python Team,

Am very new to programming

Am facing following error in python

Traceback (most recent call last):
  File
"C:/Users/Mahira/AppData/Local/Programs/Python/Python36/Lib/graphics_setup/Shape
Gra Ex.py", line 6, in <module>
    circle.draw("win")
  File
"C:/Users/Mahira/AppData/Local/Programs/Python/Python36/Lib/graphics_setup\graphics.py",
line 482, in draw
    if graphwin.isClosed(): raise GraphicsError("Can't draw to closed
window")
AttributeError: 'str' object has no attribute 'isClosed

My Program is:

from graphics import *
win=GraphWin('Shapes')
center=Point(100,100)
circle=Circle(center,30)
circle.setFill('red')
circle.draw("win")
label=Text(center,"Red Circle")
label.draw(win)
rect=Rectangle(Point(30,30),Point(70,70))
r.draw(win)
line=Line(Point(20,30),Point(180,199))
line.draw(win)
oval=Oval(Point(20,150),Point(180,199))
oval.draw(win)

Kindly help me to solve this issue

@Mahira Mahira mannequin closed this as completed Jun 2, 2017
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants