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_avancees [2021/01/28 07:52] – [Itérateurs] villersd | teaching:progappchim:notions_avancees [2021/02/11 10:27] – villersd |
---|
* swapcase() : inverse capitales et bas de casse | * swapcase() : inverse capitales et bas de casse |
* startswith('fizz'), endswith('buzz'), 'fizz buzz' in test_string : renvoie True ou False | * startswith('fizz'), endswith('buzz'), 'fizz buzz' in test_string : renvoie True ou False |
| |
| ===== Manipulations de fichiers ===== |
| * module os |
| * [[https://towardsdatascience.com/8-must-know-file-system-operations-in-python-7dc185daeccd|8 Must-Know File System Operations In Python - The essential for Python in tasks automation apps]] Christopher Tao, Medium, 08/02/2021 |
| * [[https://www.programiz.com/python-programming/directory|Python Directory and Files Management]] (tutorial) |
| * official documentation : [[https://docs.python.org/3/library/os.html]] |
| * [[https://towardsdatascience.com/10-python-file-system-methods-you-should-know-799f90ef13c2|10 Python File System Methods You Should Know - Manipulate Files and Folders With os and shutil]] Jeff Hale, Medium, Feb 15, 2019 (pathlib, OS, shutil) |
| * [[https://medium.com/better-programming/the-top-10-file-handling-techniques-in-python-cf2330a16e7 : The Top 10 File Handling Techniques in Python - Make working with files easier]] Yong Cui, Aug 5, 2020 |
| * [[https://medium.com/python-in-plain-english/manipulating-file-paths-with-python-72a76952b832]] ?? |
| |
| |
===== Expressions rationnelles (régulières) ===== | ===== Expressions rationnelles (régulières) ===== |
* [[http://stackoverflow.com/questions/36636/what-is-a-closure]] | * [[http://stackoverflow.com/questions/36636/what-is-a-closure]] |
* [[http://programmers.stackexchange.com/questions/40454/what-is-a-closure]] | * [[http://programmers.stackexchange.com/questions/40454/what-is-a-closure]] |
| |
===== Programmation fonctionnelle ===== | ===== Programmation fonctionnelle ===== |
* [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) | * [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) |
* [[https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc|Stop Using Print to Debug in Python. Use Icecream Instead]] | * [[https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc|Stop Using Print to Debug in Python. Use Icecream Instead]] |
| |
| ===== Sous le capot (bytecode,...) ===== |
| * [[https://medium.com/swlh/efficiently-checking-for-an-empty-list-in-python-76b76099fbd3|Efficiently Checking for an Empty List in Python]] Frank Scholl, Medium, Nov 22, 2019 → comparaison des bytecodes Python/C générés pour 3 solutions proposées |
| |
===== Performances, temps d'exécution, ... ===== | ===== Performances, temps d'exécution, ... ===== |