diff --git a/avocado.py b/avocado.py index 477935a..6905fe6 100644 --- a/avocado.py +++ b/avocado.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import pygame, random, os from support import operations diff --git a/crystal.py b/crystal.py index 731b5de..65d7353 100644 --- a/crystal.py +++ b/crystal.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + """ A class that represents a lawyer """ diff --git a/game.py b/game.py index ad3214d..952da90 100755 --- a/game.py +++ b/game.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + """ Avocados and stuff """ diff --git a/interface/hud.py b/interface/hud.py index 6031e9a..79ecc99 100644 --- a/interface/hud.py +++ b/interface/hud.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import os, pygame from pygame.locals import * diff --git a/itext.py b/itext.py index 2bc68c5..c88cf27 100644 --- a/itext.py +++ b/itext.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import pygame from support.colors import * diff --git a/pingenerator.py b/pingenerator.py index 08e809d..e27282a 100644 --- a/pingenerator.py +++ b/pingenerator.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import os, pygame diff --git a/support/bootstrap.py b/support/bootstrap.py index eb44049..df8c663 100644 --- a/support/bootstrap.py +++ b/support/bootstrap.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import sys from colors import * diff --git a/support/colors.py b/support/colors.py index a21a54b..7cb6eca 100644 --- a/support/colors.py +++ b/support/colors.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + #------------------------------------------------------------------------------- # Name: Colors # Purpose: Color library for Python/Pygame diff --git a/support/inputboxExample.py b/support/inputboxExample.py index 70fe699..6167a79 100644 --- a/support/inputboxExample.py +++ b/support/inputboxExample.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + # by Timothy Downs, inputbox written for my map editor # Edited to be python3 compatible by @SteveClement on Twitter diff --git a/support/operations.py b/support/operations.py index 97b8f89..569e5f7 100644 --- a/support/operations.py +++ b/support/operations.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + import pygame def color_surface(surface, color): diff --git a/support/pixel-crash.py b/support/pixel-crash.py index 3ba28a9..75360bc 100644 --- a/support/pixel-crash.py +++ b/support/pixel-crash.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # # Move a single pixel around the screen without crashing against the borders. # (and exit the program once crashed) diff --git a/support/screen.py b/support/screen.py index 92f287f..c3aa6cc 100644 --- a/support/screen.py +++ b/support/screen.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import pygame from pygame.locals import * diff --git a/support/screenAlpha.py b/support/screenAlpha.py index 73a8273..902d921 100644 --- a/support/screenAlpha.py +++ b/support/screenAlpha.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import pygame from pygame.locals import * diff --git a/support/toggleFullscreen.py b/support/toggleFullscreen.py index 66e0078..6b0e501 100755 --- a/support/toggleFullscreen.py +++ b/support/toggleFullscreen.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + import sys from colors import * from screen import * diff --git a/support/transEx.py b/support/transEx.py index df8e6eb..4dd17d5 100644 --- a/support/transEx.py +++ b/support/transEx.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # + import sys, time from colors import * from screen import * diff --git a/support/transWebImage.py b/support/transWebImage.py index 49597dd..953d54d 100644 --- a/support/transWebImage.py +++ b/support/transWebImage.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# -*- coding: utf-8 -*- # import urllib.request, sys, shutil, os from colors import *