Outils pour utilisateurs

Outils du site


python:apprentissage

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
python:apprentissage [2017/11/14 08:50]
Francesco Beretta [Contrôles de flux]
python:apprentissage [2019/12/04 08:39] (Version actuelle)
Francesco Beretta [Cas particuliers / astuces]
Ligne 25: Ligne 25:
   * Une [[https://​docs.python.org/​fr/​3.6/​tutorial/​controlflow.html#​defining-functions|introduction]]   * Une [[https://​docs.python.org/​fr/​3.6/​tutorial/​controlflow.html#​defining-functions|introduction]]
   * Une [[http://​apprendre-python.com/​page-apprendre-creer-fonction-en-python|autre introduction]]   * Une [[http://​apprendre-python.com/​page-apprendre-creer-fonction-en-python|autre introduction]]
 +
 +
 +===== Expressions régulières =====
 +
 +Expressions régulières ou expressions rationnelles (regular expression ou RE ou regexp) ​
 +
 +  * [[http://​www.xavierdupre.fr/​app/​teachpyx/​helpsphinx/​c_regex/​regex.html|Excellent tutoriel]] de Xavier Dupré
 +  * Un [[https://​openclassrooms.com/​courses/​apprenez-a-programmer-en-python/​les-expressions-regulieres|autre tutoriel]]
 +  * Documentation Python [[https://​docs.python.org/​fr/​3.6/​howto/​regex.html#​regex-howto|Regular Expression HOWTO]]
 +  * [[https://​docs.python.org/​fr/​3.6/​library/​re.html|documentation de la syntaxe en Python 3.6]]
 +
 +
 +Voire dans ce wiki la [[python:​encodage_semantique_atom#​chercher_remplacer_avec_expressions_regulieres_dans_atom|partie consacrée aux expressions régulières en utilisant le logicisl ATOM]].
 +
 +
 +==== Cas particuliers / astuces ====
 +
 +  * [[https://​stackoverflow.com/​questions/​406230/​regular-expression-to-match-a-line-that-doesnt-contain-a-word|Regular expression to match a line that doesn'​t contain a word]]
 +  * [[https://​stackoverflow.com/​questions/​2953039/​regular-expression-for-a-string-containing-one-word-but-not-another|Regular expression for a string containing one word but not another]]
 +
 + 
python/apprentissage.1510645819.txt.gz · Dernière modification: 2017/11/14 08:50 par Francesco Beretta