Home
last modified time | relevance | path

Searched refs:urlretrieve (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython3/PCbuild/
Durlretrieve.py11 from urllib.request import urlretrieve
15 from urllib import urlretrieve
24 def urlretrieve(url, filename): function
39 urlretrieve(URL, FILENAME)
Dget_external.py9 from urllib.request import urlretrieve
19 filename, headers = urlretrieve(
Dfind_python.bat56 @%_Py_HOST_PYTHON% -E "%~dp0\urlretrieve.py" "%_Py_NUGET_URL%" "%_Py_NUGET%"
/external/python/cpython3/Lib/test/
Dtest_urllibnet.py159 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):
179 with self.urlretrieve(self.logo,
188 with self.urlretrieve(self.logo) as (file_location, info):
195 with self.urlretrieve(self.logo) as (file_location, fileheaders):
209 with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
Dtest_urllib.py750 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),
851 urllib.request.urlretrieve(support.TEST_HTTP_URL,
870 urllib.request.urlretrieve(support.TEST_HTTP_URL)
/external/python/cpython2/Lib/test/
Dtest_urllibnet.py159 def urlretrieve(self, *args): member in urlretrieveNetworkTests
160 return _open_with_retry(urllib.urlretrieve, *args)
164 file_location,info = self.urlretrieve("http://www.example.com/")
177 file_location,info = self.urlretrieve("http://www.example.com/",
190 file_location, header = self.urlretrieve("http://www.example.com/")
197 file_location, fileheaders = self.urlretrieve(logo)
Dtest_urllib.py423 result = urllib.urlretrieve("file:%s" % test_support.TESTFN)
433 result = urllib.urlretrieve(self.constructLocalFileUrl(
457 urllib.urlretrieve(self.constructLocalFileUrl(test_support.TESTFN),
466 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
480 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
494 urllib.urlretrieve(self.constructLocalFileUrl(srcFileName),
519 self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve,
535 … self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve, 'http://example.com/')
/external/autotest/server/cros/ap_configurators/
Dfetch_prebuilt_pyauto.py140 chrome_zip = urllib.urlretrieve(self._chrome_zip_url)[0]
144 remoting_zip = urllib.urlretrieve(self._remoting_zip_url)[0]
149 pyautolib_py = urllib.urlretrieve(self._pyautolib_py_url)[0]
152 pyautolib_so = urllib.urlretrieve(self._pyautolib_so_url)[0]
156 ffmpegsumo_so = urllib.urlretrieve(self._ffmpegsumo_so_url)[0]
159 chromedriver = urllib.urlretrieve(self._chromedriver_url)[0]
/external/python/cpython3/Tools/peg_generator/scripts/
Ddownload_pypi_packages.py8 from urllib.request import urlretrieve
34 urlretrieve(url, os.path.join("data", f"{package_name}.json"))
45 urlretrieve(url, os.path.join("data", "pypi", filename))
/external/perfetto/tools/
Dcompat.py23 from urllib.request import urlretrieve
25 from urllib import urlretrieve
/external/python/cpython2/PCbuild/
Dget_external.py7 from urllib.request import urlretrieve
17 filename, headers = urlretrieve(
Dfind_python.bat53 @%_Py_HOST_PYTHON% "%~dp0\urlretrieve.py" "%_Py_NUGET_URL%" "%_Py_NUGET%"
/external/armnn/python/pyarmnn/examples/speech_recognition/tests/
Dconftest.py32 urllib.request.urlretrieve(file, file_path)
/external/armnn/python/pyarmnn/examples/common/tests/
Dconftest.py34 urllib.request.urlretrieve(file, file_path)
/external/perfetto/python/perfetto/trace_processor/
Dshell.py59 _ = request.urlretrieve(f'http://{url}/status')
/external/python/dateutil/
Dupdatezinfo.py29 request.urlretrieve(os.path.join(releases_url,
/external/python/cpython2/Doc/library/
Durllib.rst157 .. function:: urlretrieve(url[, filename[, reporthook[, data]]])
183 :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that
189 :func:`urlretrieve` reads more data, but if less data is available, it raises
195 If no *Content-Length* header was supplied, :func:`urlretrieve` can not check
202 The public functions :func:`urlopen` and :func:`urlretrieve` create an instance
222 :func:`urlretrieve`.
438 This exception is raised when the :func:`urlretrieve` function detects that the
456 * The caching feature of :func:`urlretrieve` has been disabled until I find the
465 * The :func:`urlopen` and :func:`urlretrieve` functions can cause arbitrarily
475 * The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data
/external/skia/tools/svg/
Dsvg_downloader.py39 urllib.urlretrieve(file_url, dest_file)
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py50 def urlretrieve(url, filename, reporthook=None, data=None): function
87 from urllib.request import urlretrieve # pylint: disable=g-importing-member
259 urlretrieve(origin, fpath, dl_progress)
/external/tensorflow/tensorflow/lite/tutorials/
Ddataset.py78 urllib.request.urlretrieve(url, zipped_filepath)
/external/fmtlib/support/
Dtravis-build.py35 urllib.urlretrieve('http://mirrors.kernel.org/ubuntu/pool/main/d/doxygen/' +
/external/python/cpython3/Doc/library/
Durllib.error.rst61 This exception is raised when the :func:`~urllib.request.urlretrieve`
/external/autotest/client/bin/
Dtest_config.py48 utils.urlretrieve(cfg, self.cfg)
/external/autotest/server/
Dbase_utils.py86 utils.urlretrieve(location, tmpfile)
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dfile_operations.py115 urllib.request.urlretrieve(url, filename=downloaded_file)

12