Skip to content

Instantly share code, notes, and snippets.

@p-hennessy
Created February 5, 2015 01:49
Show Gist options
  • Save p-hennessy/2fc7f41f585d901c454d to your computer and use it in GitHub Desktop.
Save p-hennessy/2fc7f41f585d901c454d to your computer and use it in GitHub Desktop.
Python Syntax Highlight Tester
#!/usr/bin/python
import os, sys
from django import urls
class MyClass(os.windows):
aVar = 'chicken'
__init__(self):
aVar = None
def myMethod(self, string):
self.aVar = string
try:
anotherVar = MyClass()
antherVar.myMethod('cow')
except:
print 'Error has occured'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment