from MyContacts import MyContacts

def displayContacts():
    print("You called function in Driver module not a method!")

def start():
    jt = MyContacts()
    tj = MyContacts()

    # Calls function not method
    displayContacts()

    # start() isn't a method, no self: uncomment below to see
    # self.displayContacts()

    # OK
    print("JT's")
    print("----")
    jt.displayContacts()
    print("TJ's")
    print("----")
    tj.displayContacts()

    jt.erroneousDisplay()

    jt.copyContacts()
start()
