[Python] print a file with certain extension

Discussão em 'Python' iniciado por Stack, Abril 20, 2025.

  1. Stack

    Stack Membro Participativo

    I'd like to print a file selected with a file picker (or somehow) with certain extension, so that PyQt or printer will automatically recognize the format (e.g. pdf, ms word, excel, txt, html, jpg etc.)

    So far, I have found here how to print the content of the TextEdit, but I'd like to print files with various formats.

    Is it possible with PyQt5 or should I search elsewhere?

    Continue reading...

Compartilhe esta Página