Menu

[r4503]: / trunk / users_guide / dot / makedot.py  Maximize  Restore  History

Download this file

9 lines (7 with data), 302 Bytes

1
2
3
4
5
6
7
8
import os, sys
from glob import glob
for fname in glob("*.dot"):
basename, ext = os.path.splitext(fname)
print 'dotting', fname
os.system('dot -Tps -o ../figures/%s.ps %s'%(basename, fname))
os.system('convert -density 600x600 ../figures/%s.ps ../figures/%s.png'%(basename, basename))
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.