Python: Difference between revisions
Line 43: | Line 43: | ||
== Visualisations of python code == | == Visualisations of python code == | ||
* Syntax: Showing a parse tree: https://vpyast.appspot.com/ [https://github.com/ivan111/vpyast code] | * Syntax: Showing a parse tree: https://vpyast.appspot.com/ [https://github.com/ivan111/vpyast code] | ||
* Execution frames | * [http://www.pythontutor.com/visualize.html#mode=display Execution frames] also [https://cscircles.cemc.uwaterloo.ca/visualize#mode=display same thing?] |
Revision as of 11:14, 20 September 2020
Python is a scripting language written by Guido van Rossom.
The name actually refers to Monty Python, the charmingly irreverent and absurdist comedy troupe, as opposed to venomous snake.
General
- Charming Pythonistas, an article about why Python makes a good learning language, and in particular considers the underrepresentation of female programmers
Learning Python
Has been used in the course as a textbook
- A nice quick intro to programming with Python as the specific language.
Another good, free, resource, by Mark Pilgrim (and mirrored now)
- Interesting discussion about the merits of Python as a learning language, and the "gender gap" in programming
- A Python "Cheat Sheet" -- hmmm, might it not be a good project to be able to generate your own "cheat sheets"?
Useful Add-ons (Libraries)
- PythonImageLibrary (PIL)
- feedparser
Applications that use/support Python plugins/extensions
- GIMP has GIMP-python to allow python plugins
- Inkscape can use any language scripts, including Python, as filters (or "effects")
- Blender has an embedded Python interpreter
- Dia via a python plugin
- Scribus has a scripting API that uses Python
Visualisations of python code
- Syntax: Showing a parse tree: https://vpyast.appspot.com/ code
- Execution frames also same thing?