Created
February 5, 2015 01:49
-
-
Save p-hennessy/2fc7f41f585d901c454d to your computer and use it in GitHub Desktop.
Python Syntax Highlight Tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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