class Command: def __init__(self, timenow, cmdline): self.time = timenow self.command = 'start' self.parseCommandLine(cmdline) def parseCommandLine(self, cmdline): parts = cmdline.split(None, 1)