scripts/docbook2html.py
changeset 2 52d12eb31c30
parent 1 672eaaab9204
child 3 6cee07c589cb
equal deleted inserted replaced
1:672eaaab9204 2:52d12eb31c30
     1 import glob, os, re, sys
       
     2 import subprocess
       
     3 import time
       
     4 names = glob.glob('ch*.docbook')
       
     5 for name in names:
       
     6 	command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])
       
     7 	print command	
       
     8 	subprocess.Popen(command,shell=True)
       
     9 	time.sleep(10)