mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
Merge branch 'master' into devv
This commit is contained in:
commit
57dd51ccc7
@ -12,7 +12,7 @@ for f in os.listdir(DIR):
|
|||||||
if not f.lower().endswith('.pdf'):
|
if not f.lower().endswith('.pdf'):
|
||||||
continue
|
continue
|
||||||
print f
|
print f
|
||||||
os.system('pdf2htmlEX -l 3 --dest-dir html %s/%s' % (DIR,f))
|
os.system('pdf2htmlEX -l 3 --dest-dir html "%s/%s"' % (DIR,f))
|
||||||
ff = f[:-3]+'html'
|
ff = f[:-3]+'html'
|
||||||
outf.write('<a href="html/%s" target="pdf">%s</a><br/>' % (ff,ff))
|
outf.write('<a href="html/%s" target="pdf">%s</a><br/>' % (ff,ff))
|
||||||
outf.flush();
|
outf.flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user