Oblique Strategies

From XPUB & Lens-Based wiki

My first little script: Brian Eno's Oblique Strategies

http://pzwart3.wdka.hro.nl/~mwocher/cgi-bin/Strategies.cgi

<source lang="python">

  1. !/usr/local/bin/python
  2. -*- coding:utf-8 -*-

import cgi

import random strategy = [

"(Organic) machinery", "A line has two sides", "A very small object -Its centre", "Abandon desire", "Abandon normal instructions", "Accept advice", "Accretion", "Adding on", "Allow an easement (an easement is the abandonment of a stricture)", "Always first steps", "Always give yourself credit for having more than personality", "Always the first steps", "Are there sections? Consider transitions", "Ask people to work against their better judgement", "Ask your body", "Assemble some of the elements in a group and treat the group", "Back up a few steps. What else could you have done?", "Balance the consistency principle with the inconsistency principle", "Be dirty", "Be extravagant", "Be less critical more often", "Breathe more deeply", "Bridges -build -burn", "Call your mother and ask her what to do.", "Cascades", "Change ambiguities to specifics", "Change instrument roles", "Change nothing and continue with immaculate consistency", "Change specifics to ambiguities", "Children's voices -speaking -singing", "Cluster analysis", "Consider different fading systems", "Consider transitions", "Consult other sources -promising -unpromising", "Convert a melodic element into a rhythmic element", "Courage!"

]

position = random.randint(0, 194) print "Content-type: text/html" print print "<html>"

print """oblique strategy of the day:

""" +strategy[position] +"

"


print "</html>"