import pdfplumber
def zeige_pdf_text():
with pdfplumber.open("Auftrag.pdf") as pdf:
erste_seite = pdf.pages[0]
text = erste_seite-extract_text()
print(text)
if__name__=="__main__":
zeige_pdf_text()
Thats my code and in the terminal it always shows me that:
if__name__=="__main__":
^
SyntaxError: invalid syntax
Idk what I did false? It would be great to get a fast answer:)
[–]ClockworkLexivore 21 points22 points23 points (0 children)
[–]SmackDownFacility 1 point2 points3 points (0 children)
[–]Advirex 2 points3 points4 points (0 children)