Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

converting ps file to pdf

When plotting dynamic simulations I prefer to generate ps type of files (like the resolution).did anyone find an easy way to convert *.ps to a *.pdf file? I tried using os and ps2pdf but it does no work, it does not give any error message but also does not create the pdf file.
the code could not be simpler.

import os os.system ('ps2pdf dynamicplot.ps dynamicplot.pdf')