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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Clean up the destination. If dest is None, use the filename of the
file being downloaded and store it in the current directory. If dest
ends with a '/', or if it points to a directory, use the filename of
the file being downloaded and store it in the specified directory. If
dest doesn't end with a '/' and doesn't point to a directory, store
the file using the specfied filename. If the specified already exists,
append a number to it.

src/n/a/narwhal-0.7/narwhal/download_repose.py   narwhal(Download)
 
        if get_valve:
            valve_dest = self.clean_up_dest(vurl, valve_dest)
            print '%s --> %s' % (vurl, valve_dest)
            if vurl:
                self.download_file(url=vurl, dest=valve_dest)
                filenames["valve"] = valve_dest
 
        if get_filter:
            filter_dest = self.clean_up_dest(furl, filter_dest)
 
        if get_ext_filter:
            ext_filter_dest = self.clean_up_dest(eurl, ext_filter_dest)
            print '%s --> %s' % (eurl, ext_filter_dest)
            if eurl:

src/f/r/froggie-0.1.1/froggie/download_atomhopper.py   froggie(Download)
                                      version=version)
 
        dest = self.clean_up_dest(url, dest)
 
        print '%s --> %s' % (url, dest)