Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes |
teaching:progappchim:notions_fondamentales [2021/02/11 10:01] – [D'autres types] villersd | teaching:progappchim:notions_fondamentales [2021/04/25 10:15] – [Le type de données texte ou "string" :] villersd |
---|
</code> | </code> |
| |
| Pour une technique de détection utilisant les nombres premiers : [[https://mobile.twitter.com/fermatslibrary/status/1385957963429515266]] (programmer et comparer !) |
| |
=== Références === | === Références === |
* Autres références : | * Autres références : |
* [[https://towardsdatascience.com/global-local-and-nonlocal-variables-in-python-6b11c20d73b0|Global, Local and Nonlocal variables in Python]] | * [[https://towardsdatascience.com/global-local-and-nonlocal-variables-in-python-6b11c20d73b0|Global, Local and Nonlocal variables in Python]] |
| * [[https://towardsdatascience.com/many-python-programmers-cannot-solve-this-puzzle-c5950841d14d|Many Python Programmers Cannot Solve This Puzzle - A brief introduction to “Python under the hood” for beginners]] Naser Tamimi, Medium, Dec 23, 2020 |
==== Passage d'arguments par tuples et dictionnaires ==== | ==== Passage d'arguments par tuples et dictionnaires ==== |
* Les arguments d'une fonction peuvent être transmis via un tuple en préfixant le nom du tuple par le symbole * (on utilise en général l'identifiant "*args" pour le tuple) | * Les arguments d'une fonction peuvent être transmis via un tuple en préfixant le nom du tuple par le symbole * (on utilise en général l'identifiant "*args" pour le tuple) |
* [[https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html|The Definitive Guide to Python import Statements]] | * [[https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html|The Definitive Guide to Python import Statements]] |
* [[https://realpython.com/absolute-vs-relative-python-imports/|Absolute vs Relative Imports in Python]] | * [[https://realpython.com/absolute-vs-relative-python-imports/|Absolute vs Relative Imports in Python]] |
| * [[https://medium.com/dev-genius/importing-packages-in-python-fb3f4a64ed14|Importing Packages in Python - Exploring different ways to import packages in Python]] Indhumathy Chelliah, Medium, Oct 24, 2020 |
| * [[https://medium.com/techtofreedom/3-key-skills-for-handling-modules-in-python-d644c5e5682|3 Key Skills for Handling Modules in Python]] by Yang Zhou, TechToFreedom, Mar, 2021, Medium |
| |
* ... | * ... |
| |
* [[https://medium.com/better-programming/a-cheat-sheet-on-reading-and-writing-files-in-python-e78297adf413|A Cheat Sheet on Reading and Writing Files in Python - Quick reference on how to read and write files]] Yong Cui, Medium, 13/01/2020 | * [[https://medium.com/better-programming/a-cheat-sheet-on-reading-and-writing-files-in-python-e78297adf413|A Cheat Sheet on Reading and Writing Files in Python - Quick reference on how to read and write files]] Yong Cui, Medium, 13/01/2020 |
* [[https://medium.com/techtofreedom/file-handling-in-python-daee4586a64|File Handling in Python]] Yang Zhou, Medium, 25/04/2020 | * [[https://medium.com/techtofreedom/file-handling-in-python-daee4586a64|File Handling in Python]] Yang Zhou, Medium, 25/04/2020 |
| * [[https://medium.com/code-85/how-to-read-and-write-files-in-python-b2ca7bb2c3f6|How To Read and Write Files in Python - A beginner’s guide to file I/O]] Jonathan Hsu, Medium, Apr 18, 2020 |
| |
| |