I have a dot file generated from my code and want to render it in my output. For this i have seen on the net that the command is something like this on cmd
cmd
You can try:
import os os.environ["PATH"] += os.pathsep + 'C:/Program Files (x86)/Graphviz2.38/bin/' os.system('dot -Tpng random.dot -o random.png')