[Python] if exist ?
Fermé
lonewolfs
Messages postés
51
Date d'inscription
samedi 2 juin 2007
Statut
Membre
Dernière intervention
17 octobre 2009
-
2 juin 2007 à 18:44
lonewolfs Messages postés 51 Date d'inscription samedi 2 juin 2007 Statut Membre Dernière intervention 17 octobre 2009 - 3 juin 2007 à 08:04
lonewolfs Messages postés 51 Date d'inscription samedi 2 juin 2007 Statut Membre Dernière intervention 17 octobre 2009 - 3 juin 2007 à 08:04
A voir également:
- Exists python
- Python est introuvable. exúcutez sans argument pour procúder ó l - Forum Python
- Citizen code python avis - Accueil - Outils
- \R python ✓ - Forum Python
- [PyCharm] Pas d'interpréteur python ✓ - Forum Python
- Ce programme est écrit en python ✓ - Forum Python
5 réponses
sebsauvage
Messages postés
32893
Date d'inscription
mercredi 29 août 2001
Statut
Modérateur
Dernière intervention
21 octobre 2019
15 659
2 juin 2007 à 23:16
2 juin 2007 à 23:16
Vérifier l'existence d'un fichier: os.path.isfile()
Vérifier l'existence d'un répertoire: os.path.isdir()
Dans le module os.path
:-)
Vérifier l'existence d'un répertoire: os.path.isdir()
Dans le module os.path
:-)