Is there anyway to use pygame to get input from the console, rather than having to display a separate window to get input? I\'m using pygame to track how long the keys on th
Try pygame.display.iconify(). This will hide the pygame screen, and you will still be able to detect keypresses.
pygame.display.iconify()