shape file in python 3.1 or 3.2

Post here if you need help with creating a Graphical User Interface in Python.

shape file in python 3.1 or 3.2

Postby fashion2 » Sat Oct 05, 2013 12:33 am

i am trying to use shape to create this program, what version of python would I find the shape file using tkinter?

Code: Select all
def main():
    win='graphWin'()
title=("shapes")
center.Point=("Point",(100.100))
draw.point()
circ=Circle,(("Center"),30)
circ.setFill('blue')
circ.draw(win)
label=Text
(center, "Blue Circle")
label.draw(win)
rect=Rectangle
(Point(30,30),"Point"(70.70))
rect.draw(win)
line=Line
(Point(20,30),"Point"(180.165))
line.draw(win)
oval=Oval
(Point(20,150),"Point"(180.200))
oval.draw(win)
Last edited by micseydel on Sat Oct 05, 2013 7:32 pm, edited 1 time in total.
Reason: Added code tags, locked OP.
fashion2
 
Posts: 1
Joined: Sat Oct 05, 2013 12:24 am

Re: shape file in python 3.1 or 3.2

Postby Vik2015 » Sat Oct 05, 2013 8:53 am

Hello. Could you please edit the code you pasted to make it more readable. Thanks
Vik2015
 
Posts: 17
Joined: Sat May 18, 2013 8:53 pm
Location: Computer


Return to GUI

Who is online

Users browsing this forum: Google [Bot] and 3 guests