equal
deleted
inserted
replaced
1 import glob, os, re, sys |
1 import glob, os, re, sys |
2 import subprocess |
2 import subprocess |
3 import time |
3 import time |
4 names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook') |
4 names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook') |
5 for name in names: |
5 for name in names: |
6 command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) |
6 # command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) |
|
7 command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0]) |
|
8 |
7 print command |
9 print command |
8 subprocess.Popen(command,shell=True) |
10 subprocess.Popen(command,shell=True) |
9 time.sleep(10) |
11 time.sleep(10) |