how to import only the class methods in python
<p>I have a GP.py file that I am then running a MyBot.py file from.</p>

<p>In the MyBot.py file, I have the line</p>

<pre><code>from GP import *
</code></pre>

<p>I have a suspicion it is importing the whole file instead of just the class methods and class descriptions I want. In the GP.py file, There is code in addition to the defintions</p>
