from rdpyg.app import the_app_gl # We have to initialise pygame ourselves. import pygame pygame.init() a = the_app_gl.TheAppGL() a.Start() a.Loop() print a.GetFps() a.Stop()