My code is simply as follows:
file = \'C:\\\\Exe\\\\First Version\\\\filename.exe\' os.system(file)
When I run this program, a Windows erro
I used this:
import subprocess, shlex mycmd='"C:\\Program Files\\7-Zip\\7z" x "D:\\my archive.7z" -o"D:\\extract folder" -aou' subprocess.run(shlex.split(mycmd))