diff --git a/AlaModeEPD/xbm_to_dat.py b/AlaModeEPD/xbm_to_dat.py index fee0ed5..58bac85 100644 --- a/AlaModeEPD/xbm_to_dat.py +++ b/AlaModeEPD/xbm_to_dat.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import glob import struct import pylab diff --git a/libraries/EReader/examples/Album/ascii_5x7.py b/libraries/EReader/examples/Album/ascii_5x7.py index 1df1701..4ea24d3 100644 --- a/libraries/EReader/examples/Album/ascii_5x7.py +++ b/libraries/EReader/examples/Album/ascii_5x7.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + from numpy import * import PIL.Image as Im diff --git a/libraries/EReader/examples/Album/custom_pages.py b/libraries/EReader/examples/Album/custom_pages.py index 3cdbadb..e48d8be 100755 --- a/libraries/EReader/examples/Album/custom_pages.py +++ b/libraries/EReader/examples/Album/custom_pages.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import textwrap import unifont import shutil diff --git a/libraries/EReader/examples/Album/greyscale.py b/libraries/EReader/examples/Album/greyscale.py index 120a9d7..5e58290 100644 --- a/libraries/EReader/examples/Album/greyscale.py +++ b/libraries/EReader/examples/Album/greyscale.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import glob import os.path import struct diff --git a/libraries/EReader/examples/Album/img_draw_test.py b/libraries/EReader/examples/Album/img_draw_test.py index 2bae631..440c9f9 100644 --- a/libraries/EReader/examples/Album/img_draw_test.py +++ b/libraries/EReader/examples/Album/img_draw_test.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL from PIL import ImageFont from PIL import Image diff --git a/libraries/EReader/examples/Album/setup.py b/libraries/EReader/examples/Album/setup.py index 07dedcd..152edc1 100644 --- a/libraries/EReader/examples/Album/setup.py +++ b/libraries/EReader/examples/Album/setup.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + from distutils.core import setup import py2exe, os diff --git a/libraries/EReader/examples/Album/unifont.py b/libraries/EReader/examples/Album/unifont.py index 566b887..88b715c 100644 --- a/libraries/EReader/examples/Album/unifont.py +++ b/libraries/EReader/examples/Album/unifont.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Im from numpy import * import struct diff --git a/libraries/EReader/examples/Album/wif.py b/libraries/EReader/examples/Album/wif.py index ff24541..67eb0c9 100644 --- a/libraries/EReader/examples/Album/wif.py +++ b/libraries/EReader/examples/Album/wif.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Image from PIL import ImageFont import PIL.ImageDraw as ImageDraw diff --git a/libraries/EReader/examples/Album/wifit.py b/libraries/EReader/examples/Album/wifit.py index d468104..8c5036a 100644 --- a/libraries/EReader/examples/Album/wifit.py +++ b/libraries/EReader/examples/Album/wifit.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import tempfile import json import StringIO diff --git a/libraries/EReader/examples/Album/zipit.py b/libraries/EReader/examples/Album/zipit.py index 3b90e14..f07414c 100644 --- a/libraries/EReader/examples/Album/zipit.py +++ b/libraries/EReader/examples/Album/zipit.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import zipfile def zipit(manifest, filename): diff --git a/libraries/EReader/examples/EReader/ascii_5x7.py b/libraries/EReader/examples/EReader/ascii_5x7.py index 66a8e38..236a3a8 100644 --- a/libraries/EReader/examples/EReader/ascii_5x7.py +++ b/libraries/EReader/examples/EReader/ascii_5x7.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + from numpy import * import PIL.Image as Im diff --git a/libraries/EReader/examples/EReader/custom_pages.py b/libraries/EReader/examples/EReader/custom_pages.py index 3d22dc7..409ce58 100644 --- a/libraries/EReader/examples/EReader/custom_pages.py +++ b/libraries/EReader/examples/EReader/custom_pages.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import textwrap import unifont import shutil diff --git a/libraries/EReader/examples/EReader/greyscale.py b/libraries/EReader/examples/EReader/greyscale.py index 120a9d7..5e58290 100644 --- a/libraries/EReader/examples/EReader/greyscale.py +++ b/libraries/EReader/examples/EReader/greyscale.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import glob import os.path import struct diff --git a/libraries/EReader/examples/EReader/unifont.py b/libraries/EReader/examples/EReader/unifont.py index d886f00..bd40207 100644 --- a/libraries/EReader/examples/EReader/unifont.py +++ b/libraries/EReader/examples/EReader/unifont.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Im from numpy import * import struct diff --git a/libraries/EReader/examples/EReader/wif.py b/libraries/EReader/examples/EReader/wif.py index 5c7bc44..d768eaa 100644 --- a/libraries/EReader/examples/EReader/wif.py +++ b/libraries/EReader/examples/EReader/wif.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Image from PIL import ImageFont import PIL.ImageDraw as ImageDraw diff --git a/libraries/EReader/greyscale.py b/libraries/EReader/greyscale.py index 1850d4e..6f03d52 100644 --- a/libraries/EReader/greyscale.py +++ b/libraries/EReader/greyscale.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import os.path import struct # from PIL import Image diff --git a/photobooth/ascii_5x7.py b/photobooth/ascii_5x7.py index 1df1701..4ea24d3 100644 --- a/photobooth/ascii_5x7.py +++ b/photobooth/ascii_5x7.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + from numpy import * import PIL.Image as Im diff --git a/photobooth/custom_page.py b/photobooth/custom_page.py index ba06d8b..1768fab 100755 --- a/photobooth/custom_page.py +++ b/photobooth/custom_page.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import textwrap import unifont import shutil diff --git a/photobooth/photobooth.py b/photobooth/photobooth.py index a8278a8..49d7644 100644 --- a/photobooth/photobooth.py +++ b/photobooth/photobooth.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import time import sys import os diff --git a/photobooth/photobooth_gui.py b/photobooth/photobooth_gui.py index 1f9fffa..7742025 100644 --- a/photobooth/photobooth_gui.py +++ b/photobooth/photobooth_gui.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + from photobooth import * from Tkinter import * import ImageTk diff --git a/photobooth/unifont.py b/photobooth/unifont.py index 486ce15..532159c 100644 --- a/photobooth/unifont.py +++ b/photobooth/unifont.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Im from numpy import * import struct diff --git a/photobooth/wif.py b/photobooth/wif.py index 6ce8c0d..667b299 100644 --- a/photobooth/wif.py +++ b/photobooth/wif.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import PIL.Image as Image from PIL import ImageFont import PIL.ImageDraw as ImageDraw diff --git a/photobooth/wifit.py b/photobooth/wifit.py index 95cbb09..833d7fd 100644 --- a/photobooth/wifit.py +++ b/photobooth/wifit.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 + import tempfile import json import StringIO