Writing an essay with Python

If one imagines that a bundle of lightning fast Python classes containing information about everything paired with millions of useful intuiative functions existed, making a Python app capable of writing one's essay wouldn't be too difficult.

stil = essay()
stil.language = 'da'
stil.task = ['progress', 'situation', 'story', 'opinion']
stil.write_intro()

Danmark = country('dk')
stil.add(Danmark.describe_period([1800, 1870], ['feudalism', 'technology']),
 SHORT_DESCRIPTION)
 
stil.new_section()

stil.add(Danmark.describe_period([1800, 1870], ['squire', 'freehold',
 'industrialisation', 'electricity', 'poetry']),
  NO_REDUNDANCE | SPLIT_IN_SECTIONS)

stil.new_section()

hc_story = story({'H. C. Andersen': 'Om årtusinder'})
stil.add(hc_story.explain())
stil.new_section()
stil.add(hc_story.explain_reasons(), SOUND_CLEVER)
stil.new_section()

my_op = opinion()
my_op.person = 'me'
stil.add(my_op.state('progress'))
stil.new_section()

stil.write_conclusion()
Last updated: 29 Nov 2009