I generated a dot file using Python.
Each time the file is generated, I need to run a script in the Terminal to convert it to a pdf file or an image.
This is the script:
dot -Tpdf somefile.dot -o somefile.pdf
I was wondering if it is possible to execute this script in the current folder, from within my Python code.