well, you use external libraries, so you would call functions. example (this is not real code)
openwindow("Window Title");
drawLine(10, 10, 20, 20); draw a line from (10,10) to (20,20) check out
www.pygame.org for a python game library
glad to hear you're thinking of installing linux.