How to pass object between python instances
<p>I have a genetic expression tree program to control a bot. I have a GP.py and a MyBot.py. I need to be able to have the MyBot.py access an object created in GP.py</p>

<p>The GP.py is starting the MyBot.py via the os.system() command</p>

<p>I have hundreds of tree objects in the GP.py file and the MyBot.py needs to evaluate them.</p>

<p>I can't combine the two into one .py file because a fresh instance of MyBot.py is executed thousands of times, but GP.py needs to evaluate the fitness of MyBot.py with each tree.</p>

<p>I know how to import the methods and Class definitions using import GP.py, but I need the specific instance of the Tree class object
Any ideas how to send this tree from the first instance to the second?</p>
