Python Call .Exe File with Arguments – Python Tutorial

By | June 17, 2019

If you plan to call other executable files (.exe) in python, you can refer this example.

Example Code:

import os
os.popen('E:\\xampp\\Snipaste-1.16.2-x64\\Snipaste.exe snip --size 250 250')

The key is to use os.popen() function.

Leave a Reply