program is run as stand-alone program sometimes we write modules that we may want to import into another module writing this if statement to call the main function makes the module execute its own main function when it is run as stand-alone program when the module is imported into another module it will not execute its main function later you will have the opportunity to write module to be imported into another module so it is good habit to form to always call the main function in this way reading from file to begin our drawing programlet' assume that picture is stored in file and we wish to read this file when the program is started we'll assume that each line of the file contains drawing command and its associated data we'll keep it simple and stick to drawing commands that look like this in the input filegotoxywidthcolor circleradiuswidthcolor beginfillcolor endfill penup pendown each line of the file will contain record with the needed information we can draw picture by providing file with the right sequence of these commands the file in sect contains records that describe pickup truck text file with single line records beginfillblack circle black endfill penup goto black pendown beginfillblack circle black endfill penup goto black pendown beginfillyellow goto- black goto- black goto black goto black goto black goto black goto black this copy belongs to 'acha