Closed imv7 closed 4 years ago
Solved with:
import pdftables_api
import os
c = pdftables_api.Client('')
file_path = "C:\\PythonTests\\"
for file in os.listdir(file_path):
if file.endswith(".pdf"):
c.html(os.path.join(file_path,file), file+'.html')
File "c:/PythonTests/for.py", line 10 c.html('file, file) ^ SyntaxError: EOL while scanning string literal
I am trying to get every single file and convert it. How to fix this issue?