class Test():
    x = 'x in self'
    def do_stuff(self):
        x = 'just your general x'
        print(x)
        print(self.x)
        #print(do_stuff) #not defined
        print(self.do_stuff)


t = Test()
t.do_stuff()
