You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inputpath = "File.pdf"
outputpath = myfile #Don't worry about it, i put there path
# to convert all pages
result = pdf2jpg.convert_pdf2jpg(inputpath, outputpath, pages="ALL")
print(result)
if name == "main":
pdf2jpg()
`
Then i got error as:
AttributeError: 'function' object has no attribute 'convert_pdf2jpg'
The text was updated successfully, but these errors were encountered:
My code is:
`def pdf2jpg():
if name == "main":
pdf2jpg()
`
Then i got error as:
AttributeError: 'function' object has no attribute 'convert_pdf2jpg'
The text was updated successfully, but these errors were encountered: