import os, subprocess def install(language): return subprocess.call(['Cdex_En_151.exe', '/S']) if __name__=='__main__': install('en')