Skip to content

Instantly share code, notes, and snippets.

@makmanalp makmanalp/other.py
Created Jun 6, 2016

Embed
What would you like to do?
Code in the body of a class - 8
class Other(object):
def test(self):
print("test")
o = Other()
o.test()
class Thing(object):
exec(open("other.py").read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.