import os subprocess.run("which wkhtmltopdf", capture_output=True))