Twenty things to do with a python script: Difference between revisions

From XPUB & Lens-Based wiki
Line 52: Line 52:


Source: [[Peter Westenberg]], http://www.deschaarbeeksetaal.be/p/rugzak/
Source: [[Peter Westenberg]], http://www.deschaarbeeksetaal.be/p/rugzak/
== Manipulate images with PIL (Example ?!) ==


== Slice & reorder an audio file by predominant frequency (NM/MM) ==
== Slice & reorder an audio file by predominant frequency (NM/MM) ==

Revision as of 19:06, 21 November 2013

With a deferential bow to Seymour Papert & Cynthia Solomon's 1971 20 Things to do with a computer, here a selected listing of Python recipes that represent a range posible explorations that need not involve much more than 20 - 30 lines of code.

Generating tactical text hybrids

“Emma Woodhouse, handsome, clever, and create derivative works of. 9. We can analyze your application. We can remove any ad for any purpose, including Connect sites. * Payment Terms: These guidelines outline the policies that apply to users. 5. If any portion of this Statement must be the difference between a Mrs. Weston, only sixteen miles off, was always disagreeable”

Using nltk

Source: Femke Snelting, http://snelting.domainepublic.net/files/EmmaWoodhouse.odt

Programmatically Manipulating Typefaces

EricSchrijverProgrammaticallyManipulatingTypfaces.png

Using fontforge and robofab

Source: Eric Schrijver, http://i.liketightpants.net/and/programmatically-manipulating-typefaces

Spidering texts and extracting strategic search patterns

Source: Nicolas Malevé, http://vj13.constantvzw.org/live/deskcam/

Running a mini-webserver

Permute the spellings of search terms

Source: Linda Hilfling, the experiments were developed later into the Misspelling generator browser plugin & project

Create a Traceroute Map

Source: User:Roelroscama/trim1/protoyping

Generate an epub

Scrape Albert Heijn Loyalty Cards

http://vimeo.com/50859298

Source: Birgit Bachler, http://www.birgitbachler.com/portfolio/?p=506

Create a custom joystick sound recorder

Uses: pygame

RugzakPeterWestenberg.jpg

Source: Peter Westenberg, http://www.deschaarbeeksetaal.be/p/rugzak/

Slice & reorder an audio file by predominant frequency (NM/MM)

http://kurenniemi.activearchives.org/spectrum/

Create clouds of 3D objects in Blender

https://github.com/Blender-Brussels/bpy-bge-library/blob/master/scripts/bpy/duplicate_object.py

Source: Julien Deswaef, Brussels Blender Group []

Create a dotcom index using letter permuations

http://www.roelroscamabbing.nl/dotcomindex.html

Source: User:Roelroscama, prototyping

Filter a subtitle file to highlight the unique words of a spoken text (Disappearance)

http://activearchives.org/wiki/Disappearance

Source: Alexandre Leray and Stéphanie_Vilayphiou