Initial addition of Python scripts

This commit is contained in:
J Alan Brogan
2012-10-26 17:35:08 +01:00
parent 90eb4a7b2a
commit 5462c033ab
27 changed files with 3794 additions and 1 deletions

10
codelet.py Normal file
View File

@ -0,0 +1,10 @@
class Codelet(object):
def __init__(self, name, urgency, timestamp):
self.name = name
self.urgency = urgency
self.arguments = []
self.pressure = None
self.timeStamp = timestamp
def __repr__(self):
return '<Codelet: %s>' % self.name