def clean():
    print
    print 'cleaning previous zohmg installation:'

    # remove target directories.
    for dir in targets:
        print " " + dir
        os.system("rm -rf %s" % dir)
cleans things a bit.
dataset/ETHPy150Open zohmg/zohmg/install.py/clean