How to call a specific function from a Class from via command line in python
<p>I have a python file test1.py which has following code (for example) -</p>

<pre><code>class Testing(BaseTestRemote):

    def collect_logs(self):

    def delete_logs(self):
</code></pre>

<p>So how do I run only collect_logs() (present in class Testing) from command line, can you please give an example?</p>