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

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
With a deferential bow to [http://dspace.mit.edu/bitstream/handle/1721.1/5836/AIM-248.pdf?sequence=2 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.
With a deferential bow to [http://dspace.mit.edu/bitstream/handle/1721.1/5836/AIM-248.pdf?sequence=2 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.
{{underconstruction|Code/links/images to be added}}


== Generating tactical text hybrids ==
== Generating tactical text hybrids ==

Revision as of 19:13, 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.

Construction.gif Code/links/images to be added

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

other

  • Manipulate images with PIL?
  • subprocess (Run a shell command & process it's output (FFMPEG!))
  • html5lib
  • glob
  • urllib, urlparse, ...
  • json
  • optparse
  • random
  • datetime
  • SimpleHTTPServer
  • SocketServer / OSC
  • turtle
  • uuid
  • zipfile
  • xml (Read and extract data from an XML file)