code: def mdownload(args):
      
      from jcvi.apps.grid import Jobs
  
      p = OptionParser(mdownload.__doc__)
      opts, args = p.parse_args(args)
  
      if len(args) != 1:
          sys.exit(not p.print_help())
  
      linksfile, = args
      links = [(x.strip(),) for x in open(linksfile)]
      j = Jobs(download, links)
      j.run()
docs: %prog mdownload links.txt
  
      Multiple download a list of files. Use formats.html.links() to extract the
      links file.