mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
update test.py
This commit is contained in:
parent
7a1983091a
commit
5510e12288
@ -10,7 +10,7 @@ for f in os.listdir('pdf'):
|
||||
if not f.lower().endswith('.pdf'):
|
||||
continue
|
||||
print f
|
||||
#os.system('pdf2htmlEX -l 3 --dest-dir html pdf/%s' % (f,))
|
||||
os.system('pdf2htmlEX -l 3 --dest-dir html pdf/%s' % (f,))
|
||||
ff = f[:-3]+'html'
|
||||
outf.write('<a href="html/%s" target="pdf">%s</a><br/>' % (ff,ff))
|
||||
outf.flush();
|
||||
|
Loading…
Reference in New Issue
Block a user