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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)
Complete file and directory names.
The 'quote_char' argument specifies the preferred quoting style.
Available styles are single-quote, double-quote, and backslash (the default).

src/k/m/kmd-2.2/kmd/examples/simpleapp.py   kmd(Download)
 
from kmd.completions.command import CommandCompletion
from kmd.completions.filename import FilenameCompletion
 
 
    def preloop(self):
        """Set up completions."""
        super(SimpleApp, self).preloop()
        self.completecommand = CommandCompletion()
        self.completefilename = FilenameCompletion()

src/g/p/gpgkeys-1.23/gpgkeys/gpgkeys.py   gpgkeys(Download)
from utils import conditional
 
from kmd.completions.filename import FilenameCompletion
from kmd.completions.command import CommandCompletion
from completions.key import KeyCompletion
    def preloop(self):
        super(GPGKeys, self).preloop()
        self.is_looping = True
        # Setup completions
        self.completefilename = FilenameCompletion(self.quote_char)

src/g/p/gpgkeys-HEAD/gpgkeys/gpgkeys.py   gpgkeys(Download)
from utils import conditional
 
from kmd.completions.filename import FilenameCompletion
from kmd.completions.command import CommandCompletion
from completions.key import KeyCompletion
    def preloop(self):
        super(GPGKeys, self).preloop()
        self.is_looping = True
        # Setup completions
        self.completefilename = FilenameCompletion(self.quote_char)

src/k/m/kmd-2.2/kmd/tests/test_completefiles.py   kmd(Download)
from kmd.testing import reset
 
from kmd.completions.filename import FilenameCompletion
 
TAB = '\t'
    def preloop(self):
        Kmd.preloop(self)
        self.completefilename = FilenameCompletion(self.quote_char)
 
    @print_exc