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 |
floss:python [2021/02/02 10:21] – villersd | floss:python [2022/05/05 14:11] – [Python & web] villersd |
---|
* **[[http://issuu.com/wile/docs/article_lebigot|Cliquez ici si vous voulez savoir pourquoi apprendre d'abord Python !]]** | * **[[http://issuu.com/wile/docs/article_lebigot|Cliquez ici si vous voulez savoir pourquoi apprendre d'abord Python !]]** |
* [[http://www.javaworld.com/article/2452940/learn-java/python-bumps-off-java-as-top-learning-language.html|Python est le langage le plus utilisé pour l'apprentissage de la programmation]] | * [[http://www.javaworld.com/article/2452940/learn-java/python-bumps-off-java-as-top-learning-language.html|Python est le langage le plus utilisé pour l'apprentissage de la programmation]] |
* //cf.// aussi l'article [[http://blog.codeeval.com/codeevalblog/2015#.VQhI-suvg_s=|Most Popular Coding Languages of 2015]] ainsi que le livre [[http://www.oreilly.com/programming/free/python-in-education.csp|Python in Education (Teach, Learn, Program)]], par Nicholas H. Tollervey. | * //cf.// aussi l'article [[https://www.fullstackacademy.com/blog/nine-best-programming-languages-to-learn|The 9 Best Programming Languages to Learn in 2021]] ainsi que le livre [[http://www.oreilly.com/programming/free/python-in-education.csp|Python in Education (Teach, Learn, Program)]], par Nicholas H. Tollervey. |
| |
===== Références recommandées pour débutants ===== | ===== Références recommandées pour débutants ===== |
Si vous n'avez vraiment encore aucune idée de ce qu'est la programmation, passez une heure amusante à **[[http://learn.code.org/|apprendre les rudiments de la programmation avec scratch]]**, et plus si affinité ! | Si vous n'avez vraiment encore aucune idée de ce qu'est la programmation, passez une heure amusante à **[[http://learn.code.org/|apprendre les rudiments de la programmation avec scratch]]**, et plus si affinité ! |
| |
[[http://scratchfr.free.fr/|Scratch]] utilise un environnement visuel et le [[http://fr.wikipedia.org/wiki/Glisser-d%C3%A9poser|glisser-déposer]], ce qui facilite les premiers pas en programmation (//cf.// [[https://www.youtube.com/watch?v=_Mwc1gc77dc|cette vidéo]]). | [[https://scratch.mit.edu/|Scratch]] utilise un environnement visuel et le [[http://fr.wikipedia.org/wiki/Glisser-d%C3%A9poser|glisser-déposer]], ce qui facilite les premiers pas en programmation (//cf.// [[https://www.youtube.com/watch?v=_Mwc1gc77dc|cette vidéo]]). |
| |
Il existe d'autres [[https://en.wikipedia.org/wiki/Category:Visual_programming_languages|langages de programmation visuels]] orientés vers l'apprentissage de la programmation : [[http://www.alice.org/index.php|Alice]], [[https://developers.google.com/blockly/|blockly]], [[http://snap.berkeley.edu/|snap!]], [[http://www.squeakland.org/|Squeak]], [[https://www.robomindacademy.com/go/robomind/home|RoboMind]],... | Il existe d'autres [[https://en.wikipedia.org/wiki/Category:Visual_programming_languages|langages de programmation visuels]] orientés vers l'apprentissage de la programmation : [[http://www.alice.org/index.php|Alice]], [[https://developers.google.com/blockly/|blockly]], [[http://snap.berkeley.edu/|snap!]], [[http://www.squeakland.org/|Squeak]], [[https://www.robomindacademy.com/go/robomind/home|RoboMind]],... |
* [[https://docs.python.org/3/using/index.html|Python Setup and Usage]] | * [[https://docs.python.org/3/using/index.html|Python Setup and Usage]] |
* [[https://docs.python.org/3|Documentation complète]] | * [[https://docs.python.org/3|Documentation complète]] |
* [[https://docs.python.org/fr/3/tutorial/|Le tutoriel Python]] (site officiel) | * **[[https://docs.python.org/fr/3/tutorial/|Le tutoriel Python]]** (site officiel) |
| |
| |
</note> | </note> |
| |
* [[http://www.codecademy.com/fr/tracks/python-fr-FR|Codecademy]] : __**Apprenez pas-à-pas les fondamentaux de la programmation Python**__ (site interactif validant votre progression) | * [[http://www.codecademy.com/|Codecademy]] : Cours introductifs,... FIXME |
* [[https://repl.it/languages/python3|repl.it]] : **site web permettant d'explorer interactivement des langages de programmation dont Python, sans rien installer !** | * [[https://repl.it/languages/python3|repl.it]] : **site web permettant d'explorer interactivement des langages de programmation dont Python, sans rien installer !** |
* [[http://www.pythontutor.com/|Online Python tutor]] : **apprendre et pratiquer la programmation Python dans un navigateur. Les exécutions sont décomposées et visualisées pas à pas !** | * [[http://www.pythontutor.com/|Online Python tutor]] : **apprendre et pratiquer la programmation Python dans un navigateur. Les exécutions sont décomposées et visualisées pas à pas !** |
| * Autres IDE web, en ligne : |
| * [[https://www.codechef.com/ide|CodeChef Online Compiler]] |
| * [[https://ide.geeksforgeeks.org/|IDE - GeeksforGeeks]] |
| * [[http://pythonfiddle.com/]] |
* [[http://www.skulpt.org|skulpt]], implémentation de python dans un navigateur | * [[http://www.skulpt.org|skulpt]], implémentation de python dans un navigateur |
* [[http://pythonfiddle.com/]] | |
* [[http://www.learnpython.org/|LearnPython.org]] : tutoriel interactif Python avec exécution de code (en anglais, avec des publicités) | * [[http://www.learnpython.org/|LearnPython.org]] : tutoriel interactif Python avec exécution de code (en anglais, avec des publicités) |
* [[https://groklearning.com/csedweek/|First experience programming]], specially designed for [[http://code.org/|the Hour of Code]] | * [[https://groklearning.com/csedweek/|First experience programming]], specially designed for [[http://code.org/|the Hour of Code]] |
==== Livres, manuels ou exerciseurs de niveau intermédiaire : ==== | ==== Livres, manuels ou exerciseurs de niveau intermédiaire : ==== |
| |
* [[http://fr.openclassrooms.com/informatique/cours/apprenez-a-programmer-en-python|Apprenez à programmer en Python]], tutoriel sur openclassrooms (Vincent Le Goff, 2013) | * [[https://openclassrooms.com/fr/search?page=1&query=python]], tutoriels sur openclassrooms |
* Le livre "[[http://inforef.be/swi/python.htm|apprendre à programmer avec Python]]", de Gérard Swinnen (**librement téléchargeable**, et disponible en librairie, chez l'éditeur [[http://www.eyrolles.com/Informatique/Livre/apprendre-a-programmer-avec-python-9782212124743|Eyrolles, ISBN 978-2-212-12474-3]]). Une version est également disponible sur le site de wikibooks.org : [[http://fr.wikibooks.org/wiki/Apprendre_à_programmer_avec_Python]] (voir aussi [[http://fr.wikibooks.org/wiki/Programmation_Python]]) | * Le livre "[[http://inforef.be/swi/python.htm|apprendre à programmer avec Python]]", de Gérard Swinnen (**librement téléchargeable**, et disponible en librairie, chez l'éditeur [[http://www.eyrolles.com/Informatique/Livre/apprendre-a-programmer-avec-python-9782212124743|Eyrolles, ISBN 978-2-212-12474-3]]). Une version est également disponible sur le site de wikibooks.org : [[http://fr.wikibooks.org/wiki/Apprendre_à_programmer_avec_Python]] (voir aussi [[http://fr.wikibooks.org/wiki/Programmation_Python]]) |
* Livre **librement téléchargeable** "[[http://www.greenteapress.com/thinkpython/thinkpython.html|Think Python, How to Think Like a Computer Scientist]]" de Allen B. Downey (Cambridge University Press) | * Livre **librement téléchargeable** "[[http://www.greenteapress.com/thinkpython/thinkpython.html|Think Python, How to Think Like a Computer Scientist]]" de Allen B. Downey (Cambridge University Press) |
* [[http://www.pyzo.org/index.html|Pyzo]], environnement basé sur Python 3 et des librairies scientifiques | * [[http://www.pyzo.org/index.html|Pyzo]], environnement basé sur Python 3 et des librairies scientifiques |
* [[http://enacit1.ep, fl.ch/introduction-python/outils-python.html|Python et outils associés - Installation et utilisation]], par Jean-Daniel Bonjour (EPFL-ENAC-IT) (FIXME : à suivre pour sélection des recommandations) | * [[http://enacit1.ep, fl.ch/introduction-python/outils-python.html|Python et outils associés - Installation et utilisation]], par Jean-Daniel Bonjour (EPFL-ENAC-IT) (FIXME : à suivre pour sélection des recommandations) |
* Python sur un smartphone ou une tablette Android : [[https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=fr|Pydroid 3]]. Cf. cette [[https://becominghuman.ai/pydroid-the-best-ide-for-android-a3822f980525|réf]]. | * Python sur un smartphone ou une tablette Android : |
| * [[https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=fr|Pydroid 3]] |
| * Cf. cette [[https://becominghuman.ai/pydroid-the-best-ide-for-android-a3822f980525|réf]] |
| * [[https://towardsdatascience.com/how-to-install-python-and-jupyter-notebook-onto-an-android-device-900009df743f|How to Install Python and Jupyter Notebook onto an Android Device - Increase your productivity when you’re waiting in a queue or are on the go]] Angelica Lo Duca, Medium, 08/06/2021 |
| |
=== Outils web interactifs === | === Outils web interactifs === |
* [[http://web.isen-bretagne.fr/livres/python/index.php|Python en Prépa »]], co-écrit par des étudiants et leur enseignant, ISEN Brest | * [[http://web.isen-bretagne.fr/livres/python/index.php|Python en Prépa »]], co-écrit par des étudiants et leur enseignant, ISEN Brest |
* [[http://www.learningpython.com/|Learning Python]] de Mark Mruss : pour les moins pressés... | * [[http://www.learningpython.com/|Learning Python]] de Mark Mruss : pour les moins pressés... |
* [[http://learnpythonthehardway.org/book/|Learn Python The Hard Way, 2nd Edition]], free HTML version of the book | * [[http://learnpythonthehardway.org/book/|Learn Python The Hard Way, 2nd Edition]], free HTML version of the book |
| * [[https://nostarch.com/pythoncrashcourse2e|Python Crash Course, 2nd Edition: A Hands-On, Project-Based Introduction To Programming]] Eric Matthes, 2019 ISBN: 978-1593279288 + [[http://bedford-computing.co.uk/learning/wp-content/uploads/2015/10/No.Starch.Python.Oct_.2015.ISBN_.1593276036.pdf|pdf édition de 2015]] |
* Autres livres de références : | * Autres livres de références : |
* Beginning Python, Peter Norton et al., Wiley 2005 | * Beginning Python, Peter Norton et al., Wiley 2005 |
* [[http://www.southampton.ac.uk/~fangohr/teaching/python/book.html|Python for Computational Science and Engineering]] | * [[http://www.southampton.ac.uk/~fangohr/teaching/python/book.html|Python for Computational Science and Engineering]] |
* Python 101 & Python 201, par Michael Driscoll | * Python 101 & Python 201, par Michael Driscoll |
* [[http://www.labri.fr/perso/nrougier/from-python-to-numpy/|From Python to Numpy]], 2017 - Nicolas P. Rougier | * livres de Nicolas Rougier : [[https://github.com/rougier]] |
| * [[https://github.com/rougier/scientific-visualization-book|Scientific Visualization: Python & Matplotlib]] |
| * [[http://www.labri.fr/perso/nrougier/from-python-to-numpy/|From Python to Numpy]], 2017 - Nicolas P. Rougier |
| * [[https://press.princeton.edu/books/paperback/9780691223650/a-students-guide-to-python-for-physical-modeling|A Student's Guide to Python for Physical Modeling: Second Edition]] Jesse M. Kinder and Philip Nelson, Princeton University Press, 2021, ISBN: 9780691223650 |
* Livres sur [[http://en.wikibooks.org/wiki/Main_Page|wikibooks]] : | * Livres sur [[http://en.wikibooks.org/wiki/Main_Page|wikibooks]] : |
* [[http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python|Non-Programmer's Tutorial for Python]] | * [[http://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python|Non-Programmer's Tutorial for Python]] |
* Livres scientifiques basés sur Python : | * Livres scientifiques basés sur Python : |
* [[http://shop.oreilly.com/product/0636920033424.do|Effective Computation in Physics. Field Guide to Research with Python]] + [[https://github.com/physics-codes/examples|exemples]] | * [[http://shop.oreilly.com/product/0636920033424.do|Effective Computation in Physics. Field Guide to Research with Python]] + [[https://github.com/physics-codes/examples|exemples]] |
| * FIXME : [[https://betterprogramming.pub/4-python-books-i-read-as-a-self-taught-programmer-5a5453840cdb|4 Python Books I Read as a Self-Taught Programmer - Books to learn Python to create games, websites, automate tasks, and more]] Frank Andrade, Medium, 28/04/2021 |
| |
| |
| |
==== Tutoriels, cours ==== | ==== Tutoriels, cours ==== |
* Tutoriels ciblés : | * Tutoriels ciblés : |
* [[http://www.analyticsvidhya.com/blog/2015/06/regular-expression-python/|Beginners Tutorial for Regular Expressions in Python]] | * [[http://www.analyticsvidhya.com/blog/2015/06/regular-expression-python/|Beginners Tutorial for Regular Expressions in Python]] |
| * [[https://medium.com/@valeria.aynbinder.edu/python-regular-expressions-cheat-sheet-cd0992c36f6f|Python Regular Expressions — cheat sheet - Many code examples + useful tips]] Valeria Aynbinder, Medium, 17/03/2022 |
* [[http://people.duke.edu/~ccc14/sta-663/index.html|Computational Statistics in Python]] (y compris quelques informations plus générales) | * [[http://people.duke.edu/~ccc14/sta-663/index.html|Computational Statistics in Python]] (y compris quelques informations plus générales) |
* [[http://www.programiz.com/python-programming|Python programming tutorial sur Programiz]] | * [[http://www.programiz.com/python-programming|Python programming tutorial sur Programiz]] |
* [[https://www.fun-mooc.fr/courses/course-v1:UCA+107001+session01/about|Python 3 : des fondamentaux aux concepts avancés du langage]] | * [[https://www.fun-mooc.fr/courses/course-v1:UCA+107001+session01/about|Python 3 : des fondamentaux aux concepts avancés du langage]] |
* [[https://github.com/jerry-git/learn-python3|Learn Python 3]], GitHub repository containing a collection of materials for teaching/learning Python 3 | * [[https://github.com/jerry-git/learn-python3|Learn Python 3]], GitHub repository containing a collection of materials for teaching/learning Python 3 |
| * [[https://morioh.com/p/8460e405ac4f?f=5c21fb01c16e2556b555ab32|Python Tutorial in 30 Minutes]] (Crash Course for Absolute Beginners) |
| |
| |
* [[http://perso.limsi.fr/pointal/python:pqrc|Python Quick Reference Card]], la syntaxe et les règles, le tout sur 9 feuilles recto-verso en couleur ! Attention aux marges lors de l'impression ! Toujours du même auteur (Laurent Pointal) | * [[http://perso.limsi.fr/pointal/python:pqrc|Python Quick Reference Card]], la syntaxe et les règles, le tout sur 9 feuilles recto-verso en couleur ! Attention aux marges lors de l'impression ! Toujours du même auteur (Laurent Pointal) |
* [[https://www.datacamp.com/community/blog/python-matplotlib-cheat-sheet|DataCamp matplotlib cheat sheet]], et autres [[https://www.datacamp.com/community/data-science-cheatsheets|cheat sheets]] | * [[https://www.datacamp.com/community/blog/python-matplotlib-cheat-sheet|DataCamp matplotlib cheat sheet]], et autres [[https://www.datacamp.com/community/data-science-cheatsheets|cheat sheets]] |
| * [[https://github.com/gto76/python-cheatsheet|Comprehensive Python Cheatsheet]] |
* [[http://www.pythonfrance.com/|PythonFrance.com]] (nombreux codes sources disponibles, en français) | * [[http://www.pythonfrance.com/|PythonFrance.com]] (nombreux codes sources disponibles, en français) |
* [[http://wikipython.flibuste.net/|Wiki Python FR]] avec de nombreuses informations pour débutant ou non, des exemples de code,... (en français) | * [[http://wikipython.flibuste.net/|Wiki Python FR]] avec de nombreuses informations pour débutant ou non, des exemples de code,... (en français) |
* [[http://www.simplecv.org/|SimpleCV]] : interface simplifié à OpenCV : "computer vision made easy" | * [[http://www.simplecv.org/|SimpleCV]] : interface simplifié à OpenCV : "computer vision made easy" |
* [[https://github.com/ojii/pymaging|pymaging]] (pure python) | * [[https://github.com/ojii/pymaging|pymaging]] (pure python) |
* [[http://www.vpython.org/|Vpython]] (**la version sous python3 (yc glowscript) ne semble pas compatible avec la version antérieure sous python2**, visual python, permet la programmation d'animations 3D simples (balles, rebonds, graphes,...). [[http://guigui.developpez.com/Tutoriel/Python/frvpython/webdoc/visual/index.php|traduction française du tutoriel de la version 3]] | * GlowScript : [[https://www.glowscript.org/|glowscript.org]] reprend les objectifs de [[http://www.vpython.org/|Vpython]], (sous Python 3), permet la programmation d'animations 3D simples (balles, rebonds, graphes,...). |
| * [[https://rjallain.medium.com/a-physicists-guide-to-functions-in-python-9aec73cc4dcb|A Physicist’s Guide to Functions in Python]], Rhett Allain, Medium, 17/12/2020 |
| * [[https://rjallain.medium.com/examples-of-stokes-theorem-and-the-divergence-theorem-using-python-2f4be23b81d4|Examples of Stoke’s Theorem and the Divergence Theorem Using Python]] Rhett Allain, Medium, 01/03/2022 |
* [[http://www.visualrelativity.com/vpython/|VPython applications for Teaching Physics]] | * [[http://www.visualrelativity.com/vpython/|VPython applications for Teaching Physics]] |
* [[http://spe.num.edu.mn/altankhuu/web2/vpython.html|Visual Python demos]] (ne fonctionnent pas toutes) | * [[http://spe.num.edu.mn/altankhuu/web2/vpython.html|Visual Python demos]] (ne fonctionnent pas toutes) |
* [[http://new.math.uiuc.edu/math198/repo/illipython/stanblank/pyopengl/collision.py|collision.py]] et répertoires parents | * [[http://new.math.uiuc.edu/math198/repo/illipython/stanblank/pyopengl/collision.py|collision.py]] et répertoires parents |
* [[http://vpython.wikidot.com/|Vpython wiki site]] | |
* GlowScript : [[https://www.glowscript.org/|glowscript.org]] reprend les objectifs de Vpython, (sous Python 3) | |
* cf. exemples, articel [[https://rjallain.medium.com/a-physicists-guide-to-functions-in-python-9aec73cc4dcb]],... | |
* [[http://code.google.com/p/visvis/|Visvis]] : approche orientée objet de la visualisation | * [[http://code.google.com/p/visvis/|Visvis]] : approche orientée objet de la visualisation |
* [[http://www.pyzo.org|Pyzo]] : environnement d'analyse de données et de visualisation | * [[http://www.pyzo.org|Pyzo]] : environnement d'analyse de données et de visualisation |
===== Graphical User Interfaces ===== | ===== Graphical User Interfaces ===== |
| |
cf. [[http://wiki.python.org/moin/GuiProgramming]] | cf. |
| * [[http://wiki.python.org/moin/GuiProgramming]] |
| * [[https://betterprogramming.pub/7-must-try-gui-libraries-in-python-34c8f6266363|7 Must-Try GUI Libraries in Python]] Abhay Parashar, Medium, Apr, 2021, Better Programming |
| |
* TKinter (pour mémoire, car inclu dans la distribution standard de Python) | * TKinter (pour mémoire, car inclu dans la distribution standard de Python) |
* Interfaces simplifiés : | * Interfaces simplifiés : |
* [[https://pysimplegui.readthedocs.io/en/latest/]] + PySimpleGUIWeb | * [[https://pysimplegui.readthedocs.io/en/latest/]] + PySimpleGUIWeb |
| * [[https://levelup.gitconnected.com/uis-in-python-with-pysimplegui-e5cd8ea275e8|UIs in Python with PySimpleGUI - Is this the one?]] Keno Leon, Medium, Dec 18, 2020 |
* http | * http |
* [[https://github.com/dddomodossola/remi|Python REMote Interface library]] (cf. PySimpleGUIWeb) | * [[https://github.com/dddomodossola/remi|Python REMote Interface library]] (cf. PySimpleGUIWeb) |
| |
| ===== Python & web ===== |
| * [[https://anaconda.cloud/pyscript-python-in-the-browser|PyScript]] : Python in the browser |
| * [[https://towardsdatascience.com/pyscript-python-in-the-browser-aadaf8960a80|PyScript: Python in the browser. Are you a data scientist or a developer…]] by Sophia Yang, May, 2022, Towards Data Science |
| * [[https://towardsdatascience.com/pyscript-unleash-the-power-of-python-in-your-browser-6e0123c6dc3f|PyScript — unleash the power of Python in your browser]], A sneak peek at how to run Python from HTML code |
| * [[https://brython.info/|Brython]] : Une implémentation de Python 3 pour la programmation web côté client |
| * [[https://anvil.works/]] Full stack web apps with nothing but Python |
| |
===== Librairies particulières ===== | ===== Librairies particulières ===== |
* [[https://cjolowicz.github.io/posts/hypermodern-python-01-setup/|Hypermodern Python]] (série par Claudio Jolowicz) | * [[https://cjolowicz.github.io/posts/hypermodern-python-01-setup/|Hypermodern Python]] (série par Claudio Jolowicz) |
* [[https://towardsdatascience.com/4-super-useful-python-features-993ae484fbb8|4 Super Useful Python Features]], James Briggs, 08/05/2020 | * [[https://towardsdatascience.com/4-super-useful-python-features-993ae484fbb8|4 Super Useful Python Features]], James Briggs, 08/05/2020 |
| * [[https://medium.com/analytics-vidhya/seven-tips-to-clean-code-with-python-24930d35927f|Seven Tips To Clean Code With Python - Here are the seven tips and code bites that I use every day in my work as a data scientist]] Louis de Bruijn, Medium, Jan 27 2021 |
| |
| |
* [[https://medium.com/analytics-vidhya/top-10-nice-to-have-data-science-libraries-d155196710ef|Top 10 Nice-To-Have Data Science Libraries]] | * [[https://medium.com/analytics-vidhya/top-10-nice-to-have-data-science-libraries-d155196710ef|Top 10 Nice-To-Have Data Science Libraries]] |
* [[https://towardsdatascience.com/7-easter-eggs-in-python-7765dc15a203|7 Easter Eggs in Python]] | * [[https://towardsdatascience.com/7-easter-eggs-in-python-7765dc15a203|7 Easter Eggs in Python]] |
| * [[https://towardsdatascience.com/theres-a-clear-winner-between-matlab-vs-python-f6bb56b2b930|Matlab vs Python: 9 Comparisons For Which Language is Best for You - Towards Data Science]] Zulie Rane, Medium, 02/10/2021 |
| |
| |
| |