title: How do I call outside function from class in python
body: <p>How do i call an outside function from this class ?</p>
  
  <pre><code>def test(t):
     return t
  
  class class_test():
     def test_def(q):
         test_msg = test('Hi')
         print (test_msg)
  </code></pre>