How To Wiki
Advertisement

from graphics import *


def main():

 win = GraphWin("Line", 150, 100)
 line= Line(Point(150,100))
 line.draw(win)
 win.getMouse() # pause for click in window
 win.close()


main()

How can i automatically check my Python code for errors.

Utilities for checking the code and finding bugs, including information about debuggers, etc...

Advertisement