Créer un fichier PDF avec Python
Résolu
angy21
Messages postés
39
Statut
Membre
-
sebsauvage Messages postés 33284 Date d'inscription Statut Modérateur Dernière intervention -
sebsauvage Messages postés 33284 Date d'inscription Statut Modérateur Dernière intervention -
Bonjour,
Pouvez-vous svp me dire si il est possible grace à Python de créer un fichier au format PDF a partir d'un fichier TXT ?
Si oui, pouvez-vous m'éclairer un peu plus ?
Merci par avance pour votre aide.
Pouvez-vous svp me dire si il est possible grace à Python de créer un fichier au format PDF a partir d'un fichier TXT ?
Si oui, pouvez-vous m'éclairer un peu plus ?
Merci par avance pour votre aide.
A voir également:
- Convertir fichier texte en pdf python
- Lire le coran en français pdf - Télécharger - Histoire & Religion
- Fichier epub - Guide
- Fichier bin - Guide
- Fichier rar - Guide
- Fichier .dat - Guide
14 réponses
Pouvez-vous svp me dire si il est possible grace à Python de créer un fichier au format PDF a partir d'un fichier TXT ?
Oui !
Il existe plusieurs librairie.
Par exemple celle de ReportLab:
http://www.reportlab.org/rl_toolkit.html
Voici un exemple pour créer un PDF avec Python:
http://vsbabu.org/mt/archives/2002/09/19/reportlab_python_pdf.html
Facile, non ?
Voir également l'article chez IBM:
http://www-106.ibm.com/developerworks/linux/library/l-sc6.html?loc=dwmain
Oui !
Il existe plusieurs librairie.
Par exemple celle de ReportLab:
http://www.reportlab.org/rl_toolkit.html
Voici un exemple pour créer un PDF avec Python:
http://vsbabu.org/mt/archives/2002/09/19/reportlab_python_pdf.html
Facile, non ?
Voir également l'article chez IBM:
http://www-106.ibm.com/developerworks/linux/library/l-sc6.html?loc=dwmain