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
Dernière révisionLes deux révisions suivantes
teaching:progappchim:notions_fondamentales [2022/11/19 06:34] – [Conseils divers] villersdteaching:progappchim:notions_fondamentales [2023/04/11 09:15] – [Passage d'arguments par tuples et dictionnaires] villersd
Ligne 399: Ligne 399:
 Référence : Référence :
   * [[https://www.datacamp.com/community/tutorials/python-tuples-tutorial|Python Tuples Tutorial]]   * [[https://www.datacamp.com/community/tutorials/python-tuples-tutorial|Python Tuples Tutorial]]
 +  * [[https://towardsdatascience.com/python-tuple-the-whole-truth-and-only-the-truth-hello-tuple-12a7ab9dbd0d|Python Tuple, the Whole Truth, and Only the Truth: Hello, Tuple! - Learn the basics of tuples and of using them]] Marcin Kozak, Towards Data Science (Medium), 21/01/2023
 +
 ==== Les dictionnaires ==== ==== Les dictionnaires ====
 //Cf.// la [[https://docs.python.org/3/library/stdtypes.html#mapping-types-dict|documentation officielle]] //Cf.// la [[https://docs.python.org/3/library/stdtypes.html#mapping-types-dict|documentation officielle]]
Ligne 450: Ligne 452:
 </code> </code>
  
 +Références complémentaires :
 +  * [[https://stackoverflow.com/questions/2541752/best-way-to-find-the-intersection-of-multiple-sets|Best way to find the intersection of multiple sets?]]
 ==== D'autres types ==== ==== D'autres types ====
 Des types "haute-performance" sont aussi intégrés à Python, via le module "collections" à importer : Des types "haute-performance" sont aussi intégrés à Python, via le module "collections" à importer :
Ligne 673: Ligne 677:
 plat : poularde plat : poularde
 </code> </code>
 +
 +Références :
 +  * [[https://medium.com/@mikehuls/python-args-kwargs-and-all-other-ways-to-pass-arguments-to-your-function-bd2acdce72b5|Python args, kwargs, and All Other Ways to Pass Arguments to Your Function - Expertly design your function parameters in 6 examples]] Mike Huls, Medium, 07/03/2023
 +  * [[https://python.plainenglish.io/args-and-kwargs-in-python-demystified-317fb1961720|*args And **kwargs In Python Demystified | by Liu Zuo Lin | Mar, 2023 | Python in Plain English]] Liu Zuo Lin, Medium, 26/03/2023
 ===== Modules de fonctions ===== ===== Modules de fonctions =====
 Des fonctions ou simplement des déclarations de variables peuvent être définies et regroupées dans un fichier (.py), et ensuite renseignées pour leur utilisation dans un programme grâce à la directive d'importation. Des fonctions ou simplement des déclarations de variables peuvent être définies et regroupées dans un fichier (.py), et ensuite renseignées pour leur utilisation dans un programme grâce à la directive d'importation.
Ligne 748: Ligne 756:
   * [[https://datawhatnow.com/things-you-are-probably-not-using-in-python-3-but-should/]] (f-strings vs format)   * [[https://datawhatnow.com/things-you-are-probably-not-using-in-python-3-but-should/]] (f-strings vs format)
   * [[https://python.plainenglish.io/become-a-master-of-string-formatting-in-python3-252334a8269a|Become a Master of String Formatting in Python3]] by Maxence LQ, Python in Plain English, 25/05/2021   * [[https://python.plainenglish.io/become-a-master-of-string-formatting-in-python3-252334a8269a|Become a Master of String Formatting in Python3]] by Maxence LQ, Python in Plain English, 25/05/2021
 +  * [[https://ibexorigin.medium.com/have-mercy-on-yourself-and-learn-these-9-everyday-python-f-string-codes-e8104677d7c7|Have Mercy on Yourself And Learn These 9 Everyday Python f-string Codes]] Bex. T., Medium, 14/03/2023
  
  
  • teaching/progappchim/notions_fondamentales.txt
  • Dernière modification : 2023/05/03 08:39
  • de villersd