免責聲明:我沒有關於C語言如何提供論證作爲聯盟?
我試圖讓這件事的工作任何想法:
https://github.com/berdario/resumable-urlretrieve
這裏是功能:
path = Union[str, Path]
urlretrieve(url: str, filename: path, reporthook=None, method='GET',
sha256sum=None, filesize=None, headers=None,
**kwargs) -> Dict[str, str]:
應該如何我提供文件名? 我在爭論中第一次看到冒號。
https://docs.python.org/3/library/typing.html – IanAuld
這與C和一切都與[類型提示](/ questions/32557920/what-are-type-hints-in -python-3-5)。閱讀它爲'urlretrieve(url,filename,reporthook = False,'etc. – 2016-11-26 09:29:35