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

From XPUB & Lens-Based wiki
Line 27: Line 27:
== Create a custom joystick sound record ==
== Create a custom joystick sound record ==


[[File:RugzakPeterWestenberg.jpg]]
[[File:RugzakPeterWestenberg.jpg|320px]]


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

Revision as of 15:33, 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

Using nltk

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

Programmatically Manipulating Typefaces

Using fontforge and robofab

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

Running a mini-webserver

Permute the spellings of search terms (Linda)

Write a geolocation spider (Roel)

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 record

RugzakPeterWestenberg.jpg

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

Manipulate images with PIL (Example ?!)

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