Skip to content

Instantly share code, notes, and snippets.

@nickgrier07
Created June 9, 2018 18:20
Show Gist options
  • Select an option

  • Save nickgrier07/c4cf99addd6f9cdd97392c72e61a7bfe to your computer and use it in GitHub Desktop.

Select an option

Save nickgrier07/c4cf99addd6f9cdd97392c72e61a7bfe to your computer and use it in GitHub Desktop.
Another Module Test
class Stuff(object):
def __init__(self, thing1, thing2, thing3):
self.thing1 = thing1
self.thing2 = thing2
self.thing3 = thing3
def info(self):
try:
print("This is a thing:", self.thing1)
print("This is also a thing:", self.thing2)
print("This is another thing:", self.thing3)
except:
print("Oops! You didn't put in the things.")
import Conf as C
T = C.Stuff("Me", "that", "there")
T.info()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment