I'm building a simple app, where it converts pdf to png.
When I use:
pdf_name = askopenfilenames(initialdir="/", title="Selecionar Arquivos")
I get:
print(pdf_name)
('C:/Users/user/Desktop/Apps/Python/Conversor img to pdf/file.pdf',)
So, the ask is:
How do I get this type?
print(pdf_name)
'C:/Users/user/Desktop/Apps/Python/Conversor img to pdf/file.pdf'