def __init__(self, links, host): """Initialization. links: set of available local files host: full path to remote host""" MyParser.__init__(self) self.local_links = links self.remote_host = host self.reset()