import os, subprocess, multiprocessing def f(): os.system("notepad.exe") if __name__ == '__main__': for x in range(10): multiprocessing.Process(target=f).start()