def __init__(self, basename): self.print_backtrace = True self.reader = 0 self.logger = None Shell.__init__(self, basename) self.register_commands(self, self.NOCARD_COMMANDS) self.set_prompt("(No card) ")
def __init__(self, path=None): Shell.__init__(self, 'aspx') self.shell_path = self.Path.aspx if path == None else path self.shell_text = self.Read(self.shell_path)
def __init__(self, path=None): Shell.__init__(self, 'php') self.shell_path = self.Path.php if path is None else path self.shell_text = self.Read(self.shell_path)