python turtle graphics degreesetc this idea has continued into the current python turtle graphics library where commands such as turtle forward( moves the turtle (or cursor as it is nowforward pixels etc by combining together these apparently simple commandsit is possible to create intricate and quiet complex shapes basic turtle graphics although the turtle module is built into python it is necessary to import the module before you use itimport turtle there are in fact two ways of working with the turtle moduleone is to use the classes available with the library and the other is to use simpler set of functions that hide the classes and objects in this we will focus on the set of functions you can use to create drawings with the turtle graphics library the first thing we will do is to set up the window we will use for our drawingsthe turtlescreen class is the parent of all screen implementations used for whatever operating system you are running on if you are using the functions provided by the turtle modulethen the screen object is initialised as appropriate for your operating system this means that you can just focus on the following functions to configure the layout/display such as this screen can have titlea sizea starting location etc the key functions aresetup(widthheightstartxstartysets the size and position of the main window/screen the parameters arewidth--if an integera size in pixelsif floata fraction of the screendefault is of screen height--if an integerthe height in pixelsif floata fraction of the screendefault is of screen startx--if positivestarting position in pixels from the left edge of the screenif negative from the right edgeif nonecenter window horizontally starty--if positivestarting position in pixels from the top edge of the screenif negative from the bottom edgeif nonecenter window vertically title(titlestringsets the title of the screen/window exitonclick(shuts down the turtle graphics screen/window when the use clicks on the screen bye(shuts down the turtle graphics screen/window done(starts the main event loopthis must be the last statement in turtle graphics program