[Tutor] Query regarding file conversion - DOT files
Niharika Jakhar
niharika1883 at gmail.com
Wed Jan 8 07:56:16 EST 2020
Hello
I am a masters student, and beginner in python programming. I seek help and
guidance from the tutors here. Thanks in advance.
Problem: Convert DOT files to PDF.
I came across pydot for this and tried following:
#####code####
import os
import pydot
(graph,) = pydot.graph_from_dot_file('hello.dot')
graph.write_png('hellow.png')
Error:
assert process.returncode == 0, process.returncode
AssertionError: 1
Python version: 3.7.4
Development environment: Spyder
Best regards
Niharika
More information about the Tutor
mailing list