title: how to run multiple python methods separately in one file
body: <p>I have a file <code>hello.py</code> and multiple methods inside. My file looks like:</p>
  
  <pre><code>def method1():
      return data
  
  def method2(args):
      return args
  
  if __name__ == '__main__':
      method1()
      method2(args)
  </code></pre>
  
  <p>If I run <code>hello.py</code>, all methods run. But, how can I run these methods separately for example ? </p>