title: pass function from class without starting it python
body: <p>I need to run two functions with the <code>threading</code> module</p>
  <p>you're able to do this <code>Thread(target=my_func)</code></p>
  <p>but i want the function from a class (imported class) so i tried <code>Thread(target=a_class.my_func)</code></p>
  <p>but it didn't worked, then i tried <code>Thread(target=a_class.my_func())</code></p>
  <p>but this one starts to run the function because i called it , and this is an infinite loop so the next function would never run.</p>
  <p>how do i supposed to do it?</p>