import subprocess, sys p = subprocess.Popen(["powershell.exe", "C:ProjectdownloadSharePointFile.ps1"], stdout=sys.stdout) p.communicate()