Source

pygame / examples / headless_no_windows_needed.py

Diff from to

File examples/headless_no_windows_needed.py

+#!/usr/bin/env python
 """How to use pygame with no windowing system, like on headless servers.
 
 Thumbnail generation with scaling is an example of what you can do with pygame.