<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.phobos-net.fr/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.phobos-net.fr/feed.php">
        <title>wikinotes</title>
        <description></description>
        <link>https://wiki.phobos-net.fr/</link>
        <image rdf:resource="https://wiki.phobos-net.fr/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-06T14:15:53+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/creer_type_exception?rev=1672234857&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/lister_fichiers?rev=1728925602&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/modifier_fichier_docx?rev=1728943531&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/normaliser_texte?rev=1754153951&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/tester_existance_fichier?rev=1729167885&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.phobos-net.fr/lib/tpl/dokuwiki/images/favicon.ico">
        <title>wikinotes</title>
        <link>https://wiki.phobos-net.fr/</link>
        <url>https://wiki.phobos-net.fr/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/creer_type_exception?rev=1672234857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-28T13:40:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dev:python:exemples:creer_type_exception</title>
        <link>https://wiki.phobos-net.fr/doku.php/dev/python/exemples/creer_type_exception?rev=1672234857&amp;do=diff</link>
        <description>dev python code exemple extrait snippet

:TODO_DOCUPDATE:

Python : créer un nouveau type d&#039;exception

On crée un type nouveau type d&#039;exception en héritant du type de base Exception. Dans sa forme la plus simple sans redéfinition de méthode:



class aNewException(Exception):
    pass</description>
    </item>
    <item rdf:about="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/lister_fichiers?rev=1728925602&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-14T17:06:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dev:python:exemples:lister_fichiers</title>
        <link>https://wiki.phobos-net.fr/doku.php/dev/python/exemples/lister_fichiers?rev=1728925602&amp;do=diff</link>
        <description>dev code python files directory repertoire fichier list

:TODO_DOCUPDATE:

Python3 : Lister les fichiers d&#039;un répertoire

Références

	*  &lt;https://realpython.com/get-all-files-in-directory-python/&gt;
	*  &lt;https://stackoverflow.com/questions/14176166/list-only-files-in-a-directory&gt;</description>
    </item>
    <item rdf:about="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/modifier_fichier_docx?rev=1728943531&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-14T22:05:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dev:python:exemples:modifier_fichier_docx</title>
        <link>https://wiki.phobos-net.fr/doku.php/dev/python/exemples/modifier_fichier_docx?rev=1728943531&amp;do=diff</link>
        <description>dev python file fichier word doc docx

:TODO_DOCUPDATE:

Python3 : Modifier un fichier au format docx
convertir au format docx

Télécharger et installer le module python-docx dans l&#039;environnement virtuel :


pip install python-docx






Références

	*  Utiliser le module python-docx pour modifier un document Word</description>
    </item>
    <item rdf:about="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/normaliser_texte?rev=1754153951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-02T16:59:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dev:python:exemples:normaliser_texte</title>
        <link>https://wiki.phobos-net.fr/doku.php/dev/python/exemples/normaliser_texte?rev=1754153951&amp;do=diff</link>
        <description>dev python normalisation texte

Python : Normalisation de données textuelles

:TODO:

Références

	*  &lt;https://www.geeksforgeeks.org/python/normalizing-textual-data-with-python/&gt;</description>
    </item>
    <item rdf:about="https://wiki.phobos-net.fr/doku.php/dev/python/exemples/tester_existance_fichier?rev=1729167885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-17T12:24:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dev:python:exemples:tester_existance_fichier</title>
        <link>https://wiki.phobos-net.fr/doku.php/dev/python/exemples/tester_existance_fichier?rev=1729167885&amp;do=diff</link>
        <description>dev python exemple extrait code snippet

:TODO_DOCUPDATE:

Python : tester l&#039;existence d&#039;un fichier


from pathlib import Path

aPath = Path(&#039;/path/to/file.csv&#039;)                                                                                                                     

# Retourne True si le fichier existe
aPath.exists()</description>
    </item>
</rdf:RDF>
