Execute script from within python
<p>I have a playgame.cmd file I would like to exceute from within my python code.</p>

<p>It is a genetic algorithm that runs the game (input is individual), waits for the game to run with that individual, then parses data from the game log to output the fitness of that individual.</p>

<p>Inside the .cmd file (shouldn't matter I don't think):</p>

<pre><code>python tools/playgame.py "python MyBot.py" "python tools/sample_bots/python/HunterBot.py"
--map_file tools/maps/example/tutorial1.map --log_dir game_logs --turns 60 --scenario 
--food none --player_seed 7 --verbose -e
</code></pre>

<p>(This is for the ants AI challenge if you were wondering)</p>

<p>This is all details though. My question is that of the title: 
How do I start the script midline in python, wait for the script to finish, then resume the python execution? The script file is in the same folder as the python AntEvolver.py file.</p>
