python3获取url文件大小示例代码 在python3中,urllib2被替换为urllib.requeset,因此头文件中添加importurllib.requestasurllib2defgetRemoteFi python获取文件大小