Home
last modified time | relevance | path

Searched refs:urlretrieve (Results 1 - 11 of 11) sorted by relevance

/third_party/python/PCbuild/
H A Durlretrieve.py11 from urllib.request import urlretrieve namespace
12 USING = "urllib.request.urlretrieve"
15 from urllib import urlretrieve namespace
24 def urlretrieve(url, filename): function
34 print("Usage: urlretrieve.py [url] [filename]", file=sys.stderr)
39 urlretrieve(URL, FILENAME)
H A Dget_external.py9 from urllib.request import urlretrieve namespace
19 filename, headers = urlretrieve(
H A Dfind_python.bat61 @%_Py_HOST_PYTHON% -E "%_Py_D%\urlretrieve.py" "%_Py_NUGET_URL%" "%_Py_NUGET%"
/third_party/python/Lib/test/
H A Dtest_urllibnet.py152 """Tests urllib.request.urlretrieve using the network."""
155 # remove temporary files created by urlretrieve()
159 def urlretrieve(self, *args, **kwargs): member in urlretrieveNetworkTests
162 file_location, info = urllib.request.urlretrieve(*args, **kwargs)
170 with self.urlretrieve(self.logo) as (file_location, info):
172 " urlretrieve is not a valid path")
175 " by urlretrieve failed")
179 with self.urlretrieve(self.logo,
187 # Make sure header returned as 2nd value from urlretrieve is good.
188 with self.urlretrieve(sel
[all...]
H A Dtest_urllib.py688 """Test urllib.urlretrieve() on local files"""
705 self.text = b'testing urllib.urlretrieve'
750 result = urllib.request.urlretrieve("file:%s" % os_helper.TESTFN)
760 result = urllib.request.urlretrieve(self.constructLocalFileUrl(
784 urllib.request.urlretrieve(
794 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
807 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
821 urllib.request.urlretrieve(self.constructLocalFileUrl(srcFileName),
831 """Test urllib.urlretrieve() using fake http connections"""
851 urllib.request.urlretrieve(suppor
[all...]
/third_party/python/Tools/peg_generator/scripts/
H A Ddownload_pypi_packages.py8 from urllib.request import urlretrieve namespace
35 urlretrieve(url, os.path.join("data", f"{package_name}.json"))
46 urlretrieve(url, os.path.join("data", "pypi", filename))
/third_party/skia/tools/svg/
H A Dsvg_downloader.py39 urllib.urlretrieve(file_url, dest_file)
/third_party/astc-encoder/Test/
H A Dastc_test_image_dl.py52 urllib.request.urlretrieve(srcUrl, dstPath)
/third_party/skia/tools/skqp/
H A Dcut_release.py30 urllib.urlretrieve(url, tmp + '/' + url[url.rindex('/') + 1:])
/third_party/python/Tools/unicode/
H A Dmakeunicodedata.py900 urllib.request.urlretrieve(url, filename=local)
/third_party/python/Lib/urllib/
H A Drequest.py132 'urlretrieve', 'urlcleanup', 'URLopener', 'FancyURLopener',
223 def urlretrieve(url, filename=None, reporthook=None, data=None): function
287 """Clean up temporary files from urlretrieve calls."""

Completed in 9 milliseconds