« Programmation Python/Modules » : différence entre les versions
Contenu supprimé Contenu ajouté
Ligne 162 :
== Modules personnalisés ==
Pour créer son propre module et l'importer dans un autre fichier, il faut :
*
<source lang="python">
import Fichier1
Ligne 180 :
</source>
*
<source lang="python">
from Fichier1 import *
|