SEESenv/scripts/docbook2html.py
author amit@thunder
Sat, 13 Feb 2010 13:32:38 +0530
changeset 5 c9c9819cd5e5
parent 2 52d12eb31c30
child 29 5ce5b22a9a0b
permissions -rw-r--r--
tags added

import glob, os, re, sys
import subprocess
import time
names = glob.glob('ch*.docbook')
for name in names:
	command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])
	print command	
	subprocess.Popen(command,shell=True)
	time.sleep(10)