(self, host='', user='', passwd='', acct='',
                 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *,
                 encoding='utf-8')
Initialization method (called by class instantiation).
        Initialize host to localhost, port to standard ftp port.
        Optional arguments are host (for connect()),
        and user, passwd, acct (for login()).
Initialization method (called by class instantiation).
        Initialize host to localhost, port to standard ftp port.
        Optional arguments are host (for connect()),
        and user, passwd, acct (for login()).
Initialization method ( called by class instantiation ) . Initialize host to localhost port to standard ftp port . Optional arguments are host ( for connect () ) and user passwd acct ( for login () ) .
def __init__(self, host='', user='', passwd='', acct='',
                 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *,
                 encoding='utf-8'):
        """Initialization method (called by class instantiation).
        Initialize host to localhost, port to standard ftp port.
        Optional arguments are host (for connect()),
        and user, passwd, acct (for login()).
        """
        self.encoding = encoding
        self.source_address = source_address
        self.timeout = timeout
        if host:
            self.connect(host)
            if user:
                self.login(user, passwd, acct)
def __init__ ( self , host = '' , user = '' , passwd = '' , acct = '' , timeout = _GLOBAL_DEFAULT_TIMEOUT , source_address = None , * , encoding = 'utf-8' ) : self . encoding = encoding self . source_address = source_address self . timeout = timeout if host : self . connect ( host ) if user : self . login ( user , passwd , acct )