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édentesRévision précédente
Prochaine révision
Révision précédente
python:apprentissage [2017/11/06 22:59] – [Fonctions] fberettapython:apprentissage [2019/12/04 08:39] (Version actuelle) – [Cas particuliers / astuces] fberetta
Ligne 20: Ligne 20:
 Voir également le tutoriel Python: [[https://docs.python.org/fr/3.6/tutorial/introduction.html#first-steps-towards-programming|while]] / [[https://docs.python.org/fr/3.6/tutorial/controlflow.html|if/for]] Voir également le tutoriel Python: [[https://docs.python.org/fr/3.6/tutorial/introduction.html#first-steps-towards-programming|while]] / [[https://docs.python.org/fr/3.6/tutorial/controlflow.html|if/for]]
  
 +-> Projet [[python:projet_rois_presidents|: liste des rois de France et présidents de la République ]]
 ===== Fonctions ===== ===== Fonctions =====
  
   * 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.1510005555.txt.gz · Dernière modification : de fberetta