Talk:Rodney Thesis Development

From GeoMod

Jump to: navigation, search

Code to run a python program using a call to the os.

import os

def execute(command, n=1):
    for i in range(n):
        print 'Run:', i, " of ", n, " for>", command, 
        os.system(command)


execute("python chert_man_16_h2.py", 2)
execute("python chert_man_16_h3.py", 9)



Personal tools