I have a class called Stream that has multiple functions in it. A function called live is called inside another function in the same class Stream but doing so prints the name live is not defined error.
class Stream(Thread):
   def __init__(self):
      # declare some stuff
   def live(x, y):
      # do something
   def run(self):
      # do something
      var = live(a, b)
      # do something
When running this file, I get the NameError error.
