예제 #1
0
 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) ")
예제 #2
0
 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)
예제 #3
0
 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)