Sélection de codes Python du site ActiveState
Site : http://code.activestate.com/recipes/langs/python/
- Teach your computer a few tricks (Artificial Neural Network)
- 2D Fluid Simulation using FHP LGCA (Lattice Gas Cellular Automata)
- All in one Area Calculator (tkinter & Python 3)
- Gimp Paperwhite Scriptfu (GIMP plugin)
- Python Game of Life (avec pygame)
- Stopwatch with laps in Tkinter (indiquer Tkinter au lieu de tkinter en python 2)
- Archimedes Method for PI (arbitrary precision) (en python 3)
- Simple Morse Code Translator in Python (dictionnaire)
-
- cf. aussi ceci
- Random Multi-Maze Generator (labyrinthes)
- python string concatenation (tests efficiency)
- Typing skills meter (python 3)
- Pi Circle (Computes Pi to many decimal places and prints the digits in a circle)
- mouse click to crop many large photos quickly (Python, PIL, pygame)
- Yet Another Python Generator... (audio)
- Python Multidimensional List Searcher (avec solution alternative très compacte)
- Unit Conversions Using Decimal, conversions d'unités (+ utilisation def doctest)
- PythonTimer : texte
- Simple 1KHz Audio Function Generator Using Standard Python In Linux..., tAc generation (frequency, form …)