When I run a very simple code with pydot
import pydot graph = pydot.Dot(graph_type=\'graph\') for i in range(3): edge = pydot.Edge(\"king\", \"lord%d\" %
I forked the pydot repository [1], applied the Gabi Davar patch and some changes to support python-3. The package is available in the PyPI [2].
Cheers