set the position of the rect object by changing one of its attributes on line we set the center of the rect object to be at blit the surface object with the text onto the surface object returned by pygame display set_mode((line call pygame display update(to make the display surface appear on the screen (line the parameters to the pygame font font(constructor function is string of the font file to useand an integer of the size of the font (in pointslike how word processors measure font sizeon line we pass 'freesansbold ttf(this is font that comes with pygameand the integer (for -point sized fontsee the parameters to the render(method call are string of the text to rendera boolean value to specify if we want anti-aliasing (explained later in this the color of the textand the color of the background if you want transparent backgroundthen simply leave off the background color parameter in the method call anti-aliasing anti-aliasing is graphics technique for making text and shapes look less blocky by adding little bit of blur to their edges it takes little more computation time to draw with anti-aliasingso although the graphics may look betteryour program may run slower (but only just littleif you zoom in on an aliased line and an anti-aliased linethey look like thisto make pygame' text use anti-aliasingjust pass true for the second parameter of the render(method the pygame draw aaline(and pygame draw aalines(functions have the same parameters as pygame draw line(and email questions to the authoral@inventwithpython com