illume avatar illume committed 39e462f

added #\!/usr/bin/env python to the top of all examples that didn't have it.

Comments (0)

Files changed (8)

examples/blend_fill.py

+#!/usr/bin/env python
 import sys, os
 import pygame
 from pygame.locals import *

examples/cursors.py

+#!/usr/bin/env python
 
 import pygame
 

examples/eventlist.py

+#!/usr/bin/env python
 
 """Eventlist is a sloppy style of pygame, but is a handy
 tool for learning about pygame events and input. At the

examples/fastevents.py

+#!/usr/bin/env python
 """  This is a stress test for the fastevents module.
 
 *Fast events does not appear faster!*

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.
+#!/usr/bin/env python
 import sys, random
 import pygame, pygame.image, pygame.surface, pygame.time, pygame.display
 

examples/overlay.py

-#! /bin/env python
+#!/usr/bin/env python
 
 import sys
 import pygame

examples/pixelarray.py

+#!/usr/bin/env python
 import os, pygame
 
 pygame.init ()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.