Isqua Istari

The Wise Wizards

my day

Posted in Other by Ziggy Tuesday October 23, 2007 at 13:28

# A summary of a typical day in Python metacode

# note, Ziggy.errands and Ziggy.projectlist are dynamic lists
# they are managed by the Ziggy.freewill subroutine which is
# started in the background when Ziggy initialized. Ziggy.freewill
# also runs other functions in tandem with the main function

import Ziggy #initialize myself
import Math

Ziggy.drive(car,work) #go to work
import Work
from Work import machinists, engineers, e-mail, ordersystem

while “13:30” > time.current(): #things I do while at work

e-mail.check()
neworder = ordersystem.checkNew()
if neworder: Work.paperwork(neworder)
nextTask = Work.tasks.pop()
if engineering in nextTask:
incompetence_margin = Ziggy.engineer(nextTask)
engineers(incompetence_margin)
if machining in nextTask: machinists(nextTask)

tasks = Ziggy.errandlist #run errands
for task in tasks:

Ziggy.drive(car,task.location)
Ziggy.excecute(task)

Ziggy.drive(car,home) #drive home

while “21:45” > time.current(): #things I do while at home

choice = Ziggy.freewill(range(len(Ziggy.projectlist)+1))
if choice = 0: Ziggy.excecute(computer_games)
else: Ziggy.excecute(Ziggy.projectlist[choice-1])

Ziggy.sleep()

#Meta-note, WordPress removes all leading tabs, which are crucial for python code. I’ve solved the problem by emulating tabs with blockquotes! ‘Bua+ha*4+a*5’

2 Comments »

  1. Oy Vey

    Said by Jonathan 10/23/2007 at about 18:04

  2. You made my day with this.

    Win.

    Said by Dan 10/25/2007 at about 01:28

Leave a comment


RSS feed for comments on this post. TrackBack URI

Powered by Wordpress, theme by neuro