Код: Выделить всё
import subprocess
name = open(“filename.bat”, “r”)
subprocess.run(name)
Подробнее здесь: https://stackoverflow.com/questions/787 ... other-file
Код: Выделить всё
import subprocess
name = open(“filename.bat”, “r”)
subprocess.run(name)