title: python "self" parameter while calling function from another file
body: <p>Sorry, Im new to Python and have a basic q</p>
  
  <p>I have 2 python files</p>
  
  <p>FileA.py</p>
  
  <pre><code>Class ABC:
          def __init__(self, loggingLevel = 20):
              self.data = None
              logging.basicConfig(level=loggingLevel)
              pass
  
  
          def asd(self, text)
              *
              *
  if __name__ == '__main__':
          X=ABC(10)
          Y=X.asd(text)
  </code></pre>
  
  <p>I have another file FileB.py from where i want to call function asd. I have the parameter 'text' to pass, but what should i pass for parameter 'self'. tried many options , but when it goes to File A, its failing as the value of self is not correct</p>