Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)
Called when the :meth:`~kmd.Kmd.cmdloop` method is entered. Configures the
readline completer and loads the history file.

src/k/m/kmd-2.2/kmd/tests/test_completehosts.py   kmd(Download)
    def preloop(self):
        Kmd.preloop(self)
        self.completehostname = HostnameCompletion(self.hostsfile)
 
    @print_exc

src/k/m/kmd-2.2/kmd/tests/test_completefiles.py   kmd(Download)
    def preloop(self):
        Kmd.preloop(self)
        self.completefilename = FilenameCompletion(self.quote_char)
 
    @print_exc

src/k/m/kmd-2.2/kmd/tests/test_completeusers.py   kmd(Download)
    def preloop(self):
        Kmd.preloop(self)
        self.completeuser = UsernameCompletion()
 
    @print_exc

src/k/m/kmd-2.2/kmd/tests/test_completeenv.py   kmd(Download)
    def preloop(self):
        Kmd.preloop(self)
        self.completeenviron = EnvironmentCompletion()
 
    @print_exc

src/k/m/kmd-2.2/kmd/tests/test_quoting.py   kmd(Download)
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
 
    def setUp(self):
        FileSetup.setUp(self)
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()
    def setUp(self):
        FileSetup.setUp(self)
        reset()
        self.cmd = Kmd()
        self.cmd.preloop()