====== Sélection de codes Python du site ActiveState ====== Site : [[http://code.activestate.com/recipes/langs/python/]] * [[http://code.activestate.com/recipes/579013-draw-text-to-image|Draw Text To Image]] * [[http://code.activestate.com/recipes/579006-mandelbrot-fractal-image-output-to-ppm-file|Mandelbrot Fractal image output to ppm file]] * [[http://code.activestate.com/recipes/578950-find-duplicate-files|Find Duplicate Files]] * [[http://code.activestate.com/recipes/578932-teach-your-computer-a-few-tricks|Teach your computer a few tricks]] (Artificial Neural Network) * [[http://code.activestate.com/recipes/578928-game-of-life-python-34-tkinter|Game of Life - Python 3.4 & tkinter]] * [[http://code.activestate.com/recipes/578924-2d-fluid-simulation-using-fhp-lgca|2D Fluid Simulation using FHP LGCA]] (Lattice Gas Cellular Automata) * [[http://code.activestate.com/recipes/578914-simple-linear-regression-with-pure-python|Simple Linear Regression with Pure Python]] * [[http://code.activestate.com/recipes/578901-all-in-one-area-calculator|All in one Area Calculator]] (tkinter & Python 3) * [[http://code.activestate.com/recipes/578876-rotatable-tetrahedron|Rotatable Tetrahedron]] * [[http://code.activestate.com/recipes/578875-analog-clock/|Analog clock]] * [[http://code.activestate.com/recipes/578860-setting-up-a-listbox-filter-in-tkinterpython-27|Setting up a listbox filter in Tkinter(python 2.7)]] * [[http://code.activestate.com/recipes/578857-gimp-paperwhite-scriptfu/|Gimp Paperwhite Scriptfu]] (GIMP plugin) * [[http://code.activestate.com/recipes/578839-python-text-to-speech-with-pyttsx|Python text-to-speech with pyttsx]] * [[http://code.activestate.com/recipes/578834-hierarchical-clustering-heatmap-python|Hierarchical Clustering Heatmap Python]] * [[http://code.activestate.com/recipes/578832-create-simple-pdf-text-calendars-with-xtopdf|Create simple PDF text calendars with xtopdf]] * [[http://code.activestate.com/recipes/578828-indexing-text-files-with-python|Indexing text files with Python]] * [[http://code.activestate.com/recipes/578811-using-pngcanvas-a-pure-python-png-library|Using pngcanvas, a pure Python PNG library]] * [[http://code.activestate.com/recipes/578810-levenshtein-my-love|Levenshtein_distance]] * [[http://code.activestate.com/recipes/578808-python-game-of-life|Python Game of Life]] (avec pygame) * [[http://code.activestate.com/recipes/578807-sending-email-from-a-python-program|Sending Email From A Python Program]] * [[http://code.activestate.com/recipes/578799-numerical-inversion-of-the-laplace-transform-with-|Numerical Inversion of the Laplace Transform with mpmath]] * [[http://code.activestate.com/recipes/578795-convert-microsoft-word-files-to-pdf-with-docxtopdf|Convert Microsoft Word files to PDF with DOCXtoPDF]] * [[http://code.activestate.com/recipes/578792-bell-permutations-using-evens-nonrecursive-algorit|Bell permutations using Even's nonrecursive algorithm]] * [[http://code.activestate.com/recipes/578771-recursive-multimedia-audio-video-m3u-playlist-gene|Recursive Multimedia (audio, video) M3U Playlist Generator]] * [[http://code.activestate.com/recipes/578765-circle-inversion-fractals|Circle Inversion Fractals]] * [[http://code.activestate.com/recipes/578683-analog-clock|Analog clock with Qt4]] * [[http://code.activestate.com/recipes/578678-shortest-common-supersequence-algorithms|Shortest Common Supersequence algorithms]] * [[http://code.activestate.com/recipes/578672-sort-images-from-different-sources-by-picture-take|Sort images from different sources by picture taken date]] (Exif) * [[http://code.activestate.com/recipes/578670-hofstadter-butterfly-fractal|Hofstadter Butterfly Fractal]] * [[http://code.activestate.com/recipes/578666-stopwatch-with-laps-in-tkinter|Stopwatch with laps in Tkinter]] (indiquer Tkinter au lieu de tkinter en python 2) * [[http://code.activestate.com/recipes/578590-mandelbrot-fractal-using-tkinter|Mandelbrot Fractal using Tkinter]] * [[http://code.activestate.com/recipes/578572-dynamical-billiards-simulation|Dynamical Billiards Simulation]] * [[http://code.activestate.com/recipes/578559-conways-game-of-life-in-python|Conway's Game of Life In Python]] * [[http://code.activestate.com/recipes/578533-gravner-griffeath-snowflake-simulation|Gravner-Griffeath Snowflake Simulation]] * [[http://code.activestate.com/recipes/578494-geometry-class-for-tkinter|Geometry class for Tkinter]] * [[http://code.activestate.com/recipes/578493-analog-stopclock|Analog stopclock]] * [[http://code.activestate.com/recipes/578478-archimedes-method-for-pi-arbitrary-precision|Archimedes Method for PI (arbitrary precision)]] (en python 3) * [[http://code.activestate.com/recipes/578472-sending-email-in-python|Sending Email in Python]] * [[http://code.activestate.com/recipes/578426-logistic-map-fractal|Logistic Map Fractal]] * [[http://code.activestate.com/recipes/578415-true-color-mandelbrot-fractal|True-color Mandelbrot Fractal]] * [[http://code.activestate.com/recipes/578408-morse-code-generator-in-python|Simple Morse Code Translator in Python]] (dictionnaire) * [[http://code.activestate.com/recipes/578397-generate-password-and-bit-rank/|Generate Password and Bit Rank]] * [[http://code.activestate.com/recipes/578390-snowflake-simulation-using-reiter-cellular-automat/|Snowflake Simulation Using Reiter Cellular Automata]] * [[http://code.activestate.com/recipes/578387-hash-collision-probability-birthday-problem/|Hash collision probability / Birthday problem]] * [[http://code.activestate.com/recipes/578381-a-point-in-polygon-program-sw-sloan-algorithm/|A point-in-polygon program (S.W. Sloan algorithm)]] * [[http://code.activestate.com/recipes/578379-plotting-maps-with-polar-stereographic-projection-/|Plotting maps with Polar Stereographic projection focused in a region with Basemap]] * cf. aussi [[http://code.activestate.com/recipes/578399-an-alternative-way-to-draw-parallels-and-meridians|ceci]] * [[http://code.activestate.com/recipes/578378-random-multi-maze-generator/|Random Multi-Maze Generator]] (labyrinthes) * [[http://code.activestate.com/recipes/578356-random-maze-generator/|Random Maze Generator]] * [[http://code.activestate.com/recipes/578350-platform-independent-white-noise-generator/|Platform Independent White Noise Generator...]] * [[http://code.activestate.com/recipes/578333-python-string-concatenation/|python string concatenation]] (tests efficiency) * [[http://code.activestate.com/recipes/578318-typing-skills-meter|Typing skills meter]] (python 3) * [[http://code.activestate.com/recipes/578293-unicode-command-line-histograms|unicode Command line histograms]] * [[http://code.activestate.com/recipes/578267-use-pil-to-make-a-contact-sheet-montage-of-images|Use PIL to make a "contact sheet" montage of images]] * [[http://code.activestate.com/recipes/578261-test-various-opencv-feature-detectors-in-python|Test various OpenCV feature detectors in Python]] * [[http://code.activestate.com/recipes/578258-spoken-word-to-number|Spoken Word to Number]] * [[http://code.activestate.com/recipes/578253-an-entry-with-autocompletion-for-the-tkinter-gui|An Entry with autocompletion for the Tkinter GUI]] * [[http://code.activestate.com/recipes/578250-sudoku-game-generator|Sudoku Game Generator]] * [[http://code.activestate.com/recipes/578242-artificial-neuroglial-network-angn|Artificial Neuroglial Network (ANGN)]] * [[http://code.activestate.com/recipes/578228-progress-bar-class/|Progress bar class]] * [[http://code.activestate.com/recipes/578219-exif-date-based-jpeg-files-rename-using-pil|EXIF-date-based JPEG files rename using PIL]] * [[http://code.activestate.com/recipes/578203-pygmail-can-send-mail|pygmail (can send mail)]] * [[http://code.activestate.com/recipes/578198-mandelbulb-fractal|Mandelbulb Fractal]] * [[http://code.activestate.com/recipes/578197-directory-file-counter/|Directory & File Counter]] * [[http://code.activestate.com/recipes/578180-random-sound-fx-using-wav-file|Random Sound FX Using WAV File]] * [[http://code.activestate.com/recipes/578178-colorize-python-sourcecode-syntax-highlighting|Colorize Python -- Sourcecode Syntax Highlighting]] * [[http://code.activestate.com/recipes/578177-how-to-read-millions-of-hexadecimal-numbers-into-a|How to read millions of hexadecimal numbers into a numpy array quickly]] * [[http://code.activestate.com/recipes/578176-click-counter-for-windows|Click counter for Windows]] * [[http://code.activestate.com/recipes/578168-sound-generator-using-wav-file|Sound Generator Using WAV file]] * [[http://code.activestate.com/recipes/578167-position-the-cursor-almost-anywhere-inside-standar/|Position The Cursor Almost Anywhere Inside Standard Text Mode Python Terminal]] * [[http://code.activestate.com/recipes/578131-a-simple-matrix-class|A simple Matrix class]] * [[http://code.activestate.com/recipes/578130-pi-circle|Pi Circle]] (Computes Pi to many decimal places and prints the digits in a circle) * [[http://code.activestate.com/recipes/578129-simple-linear-regression|Simple linear regression]] * [[http://code.activestate.com/recipes/578123-draw-svg-images-in-python-python-recipe-enhanced-v/|Draw SVG Images In Python]] * [[http://code.activestate.com/recipes/578114-round-number-to-specified-number-of-significant-di|Round number to specified number of significant digits]] * [[http://code.activestate.com/recipes/578111-learning-to-calculate-mental-arithmetic|Learning to calculate (mental arithmetic)]] * [[http://code.activestate.com/recipes/578101-colours-inside-text-mode-python|Colo(u)rs Inside Text Mode Python...]] * [[http://code.activestate.com/recipes/578085-pythonopencv-camera-frame-grab-and-sobel-display|Python+OpenCV: Camera frame grab and sobel display]] * [[http://code.activestate.com/recipes/578065-simple-directory-tree-view-generator|Simple directory tree view generator]] * [[http://code.activestate.com/recipes/578063-saving-a-tkinter-canvas-image-or-animation-using-p|Saving a Tkinter canvas image or animation using PIL]] * [[http://code.activestate.com/recipes/578060-a-simple-webcrawler|A Simple Webcrawler]] * [[http://code.activestate.com/recipes/578030-dropbox-file-uploader-via-web-interface-using-pyth|Dropbox file uploader via web interface using Python with urllib2 and mechanize]] * [[http://code.activestate.com/recipes/578027-password-card-generator|Password Card Generator]] * [[http://code.activestate.com/recipes/578005-mouse-click-to-crop-many-large-photos-quickly-pyth|mouse click to crop many large photos quickly]] (Python, PIL, pygame) * [[http://code.activestate.com/recipes/578002-dragon-fractal-using-iteration-method|Dragon Fractal Using Iteration Method]] * [[http://code.activestate.com/recipes/577991-temperature-calculator|Temperature Calculator]] * [[http://code.activestate.com/recipes/577990-yet-another-python-generator|Yet Another Python Generator...]] (audio) * [[http://code.activestate.com/recipes/577976-an-extensible-conways-game-of-life|An extensible Conway's Game of Life]] * [[http://code.activestate.com/recipes/577961-bezier-curve-using-de-casteljau-algorithm|Bezier Curve using De Casteljau algorithm]] * [[http://code.activestate.com/recipes/577955-a-demo-frequency-counter-with-a-difference-text-mo|A DEMO Frequency Counter With A Difference - Text Mode Python]] * [[http://code.activestate.com/recipes/577935-primelist/|primeList]] * [[http://code.activestate.com/recipes/577930-left-handed-password-generator/|Left-handed password generator]] * [[http://code.activestate.com/recipes/577929-python-multidimensional-list-searcher/|Python Multidimensional List Searcher]] (avec solution alternative très compacte) * [[http://code.activestate.com/recipes/577926-progressbar-class/|ProgressBar class]] * [[http://code.activestate.com/recipes/577924-and-now-for-something-completely-different-using-t|AcDc using sound card and some electronics]] * [[http://code.activestate.com/recipes/577916-fast-minmax-function/|Fast min/max function]] * [[http://code.activestate.com/recipes/577900-benchmark-code-with-the-with-statement|Benchmark code with the with statement]] * [[http://code.activestate.com/recipes/577890-permutation-and-combination-using-recursive-genera|Permutation and combination using recursive generator]] * [[http://code.activestate.com/recipes/577886-convert-image-format|Convert Image Format]] * [[http://code.activestate.com/recipes/577881-equally-spaced-floats-part-2|Equally-spaced floats part 2]] * [[http://code.activestate.com/recipes/577842-get-all-possible-combinations-of-characters-given-|get all possible combinations of characters given a string]] * [[http://code.activestate.com/recipes/577840-josephus-problem|Josephus problem]] * [[http://code.activestate.com/recipes/577837-frequency-analyser|Frequency Analyser]] * [[http://code.activestate.com/recipes/577835-self-contained-twl06-dictionary-module-515-kb|Self-contained TWL06 Dictionary Module]] * [[http://code.activestate.com/recipes/577816-synchronized-chaos-using-lorenz-attractor|Synchronized Chaos using Lorenz Attractor]] * [[http://code.activestate.com/recipes/577814-lorenz-attractor|Lorenz Attractor]] * [[http://code.activestate.com/recipes/577802-using-vlcpy-to-record-an-mp3-and-save-a-cue-file|Using vlc.py to record an mp3 and save a cue file]] * [[http://code.activestate.com/recipes/577797-running-2balls-in-vpython-by-flip-flopping|Running 2Balls in Vpython by Flip-Flopping]] * [[http://code.activestate.com/recipes/577783-random-fractal-curve|Random fractal curve]] * [[http://code.activestate.com/recipes/577776-speeding-up-computations-using-a-lookup-table-part|Speeding up computations using a lookup table part I]] * [[http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m|Simple LF Audio Oscilloscope Using Standard Text Mode Python]] * [[http://code.activestate.com/recipes/577766-generator-of-combinations-without-replacement-for-|Generator of combinations without replacement for a sequence using dynamic programming]] * [[http://code.activestate.com/recipes/577759-secure-password-generator|Secure Password Generator]] * [[http://code.activestate.com/recipes/577751-send-an-html-email-with-embedded-image-and-plain-t|Send an HTML email with embedded image and plain text alternate]] * [[http://code.activestate.com/recipes/577732-activestate-recipe-statistics|ActiveState recipe statistics]] * [[http://code.activestate.com/recipes/577728-simpletron3xpy-game-to-demo-xy-drawing-using-the-k|SimpleTron3x.py "Game" To DEMO XY Drawing Using The Keyboard In Standard Text Mode Python]] * [[http://code.activestate.com/recipes/577723-2d-slice-of-4d-mandelbrot-fractal-and-map-it-in-3d|2D slice of 4D Mandelbrot Fractal and Map it in 3D]] * [[http://code.activestate.com/recipes/577719-chess-notation-player|Chess Notation Player]] * [[http://code.activestate.com/recipes/577716-simple-sudoku|Simple Sudoku]] * [[http://code.activestate.com/recipes/577715-4d-mandelbrot-fractal|4D Mandelbrot Fractal]] * [[http://code.activestate.com/recipes/577713-midpoint-of-two-gps-points|Midpoint of two GPS points]] * [[http://code.activestate.com/recipes/577697-simple-numeric-database|Simple numeric database]] * [[http://code.activestate.com/recipes/577682-partition-a-sequence|Partition a sequence]] * [[http://code.activestate.com/recipes/577681-spring-mass-system-simulation|Spring-Mass System Simulation]] * [[http://code.activestate.com/recipes/577680-multi-threaded-mandelbrot-fractal|Multi-threaded Mandelbrot Fractal]] * [[http://code.activestate.com/recipes/577678-class-matrix|class matrix]] * [[http://code.activestate.com/recipes/577675-four-bit-vertical-coloured-analogue-bar-graph-gene|Four Bit Vertical Coloured Analogue Bar Graph Generator DEMO...]] * [[http://code.activestate.com/recipes/577674-bitmap-maker|Bitmap Maker]] * [[http://code.activestate.com/recipes/577670-destroying-directories|Destroying Directories]] * [[http://code.activestate.com/recipes/577665-partitioning-a-sequence|http://code.activestate.com/recipes/577665-partitioning-a-sequence/]] * [[http://code.activestate.com/recipes/577652-unit-conversions-using-decimal|Unit Conversions Using Decimal]], conversions d'unités (+ utilisation def doctest) * [[http://code.activestate.com/recipes/577647-ode-solver-using-euler-method/|ODE Solver using Euler Method]] * [[http://code.activestate.com/recipes/577646-pythontimer|PythonTimer]] : texte * [[http://code.activestate.com/recipes/577644-simple-lf-audio-oscilloscope-using-standard-python|Simple LF Audio Oscilloscope Using Standard Python]] * [[http://code.activestate.com/recipes/577642-mandelbrot-trajectories|Mandelbrot trajectories]] * [[http://code.activestate.com/recipes/577630-comparing-two-images|Comparing two images]] * [[http://code.activestate.com/recipes/577607-converting-numbers-to-their-alphabetical-style|converting numbers to their alphabetical style]] * [[http://code.activestate.com/recipes/577604-simple-white-noise-generator-using-standard-python|Simple White Noise Generator Using Standard Python In Linux]] * [[http://code.activestate.com/recipes/577594-gps-distance-and-bearing-between-two-gps-points|GPS distance and bearing between two GPS points]] * [[http://code.activestate.com/recipes/577592-simple-1khz-audio-function-generator-using-standar|Simple 1KHz Audio Function Generator Using Standard Python In Linux...]], tAc generation (frequency, form ...) * [[http://code.activestate.com/recipes/577591-conversion-of-pil-image-and-numpy-array|Conversion of PIL Image and numpy array]] * [[http://code.activestate.com/recipes/577587-record-and-playbac-using-standard-python|Record and Playbac using standard Python]] (Linux) * [[http://code.activestate.com/recipes/577578-calculate-pi-using-monte-carlo-simulations-in-pyth|Calculate Pi using Monte Carlo Simulations in Python (Vectorized)]] * [[http://code.activestate.com/recipes/577553-pendulum-simulation-with-turtle|Pendulum Simulation with Turtle]] * [[http://code.activestate.com/recipes/577542-pascals-triangle|Pascal's triangle]] * [[http://code.activestate.com/recipes/577540-python-binary-search-tree|Python Binary Search Tree]] * [[http://code.activestate.com/recipes/577522-wiki-recent-changes-checker|Wiki Recent Changes Checker]] * [[http://code.activestate.com/recipes/577511-hanoi-towers-solver-wxpython|Hanoi Towers solver wxPython]] * [[http://code.activestate.com/recipes/577488-decimal-to-binary-conversion|Decimal to Binary Conversion]] * [[http://code.activestate.com/recipes/577487-chaotic-function-analysis-graph|http://code.activestate.com/recipes/577487-chaotic-function-analysis-graph/]] * [[http://code.activestate.com/recipes/577476-shannon-entropy-calculation|Shannon Entropy Calculation]] * [[http://code.activestate.com/recipes/577474-polynomial-interpolation-using-lagrange-polynomial|Polynomial Interpolation using Lagrange Polynomial]] * [[http://code.activestate.com/recipes/577445-dynamical-billiards-simulation|Dynamical Billiards Simulation]] * [[http://code.activestate.com/recipes/577438-eight-queen-problem/|Eight queen problem]] * [[http://code.activestate.com/recipes/577423-convert-csv-to-xml/|Convert CSV to XML]]