(self, *args)
List a directory in long form.
        By default list current directory to stdout.
        Optional last argument is callback function; all
        non-empty arguments before it are concatenated to the
        LIST command.  (This *should* only be used for a pathname.)
List a directory in long form.
        By default list current directory to stdout.
        Optional last argument is callback function; all
        non-empty arguments before it are concatenated to the
        LIST command.  (This *should* only be used for a pathname.)
List a directory in long form . By default list current directory to stdout . Optional last argument is callback function ; all non - empty arguments before it are concatenated to the LIST command . ( This * should * only be used for a pathname . )
def dir(self, *args):
        '''List a directory in long form.
        By default list current directory to stdout.
        Optional last argument is callback function; all
        non-empty arguments before it are concatenated to the
        LIST command.  (This *should* only be used for a pathname.)'''
        cmd = 'LIST'
        func = None
        if args[-1:] and type(args[-1]) != type(''):
            args, func = args[:-1], args[-1]
        for arg in args:
            if arg:
                cmd = cmd + (' ' + arg)
        self.retrlines(cmd, func)
def dir ( self , * args ) : cmd = 'LIST' func = None if args [ - 1 : ] and type ( args [ - 1 ] ) != type ( '' ) : args , func = args [ : - 1 ] , args [ - 1 ] for arg in args : if arg : cmd = cmd + ( ' ' + arg ) self . retrlines ( cmd , func )