火山软件开发平台

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 火山 源码 类库
楼主: wrx198728
打印 上一主题 下一主题

安卓Python调用资产文件的列子

[复制链接]

0

主题

1

帖子

6

积分

新手上路

Rank: 1

积分
6
11#
发表于 2022-2-27 21:50:46 | 只看该作者
学习中。谢谢楼主
回复

使用道具 举报

2

主题

45

帖子

668

积分

核心用户

Rank: 9Rank: 9Rank: 9

积分
668
12#
发表于 2022-3-3 11:08:16 | 只看该作者
666666666666666666666
回复

使用道具 举报

5

主题

31

帖子

298

积分

核心用户

Rank: 9Rank: 9Rank: 9

积分
298
13#
发表于 2022-10-9 05:21:52 | 只看该作者
学习一下
回复

使用道具 举报

0

主题

66

帖子

1737

积分

核心用户

正版用户

Rank: 9Rank: 9Rank: 9

积分
1737
14#
发表于 2022-10-11 10:44:51 | 只看该作者
学习.................
回复

使用道具 举报

73

主题

287

帖子

1413

积分

金牌会员

眸有星辰 心有山河

Rank: 6Rank: 6

积分
1413
15#
发表于 2022-10-11 11:03:05 | 只看该作者
必须赞一个
回复

使用道具 举报

0

主题

6

帖子

56

积分

注册会员

Rank: 2

积分
56
16#
发表于 2022-11-28 15:00:03 | 只看该作者
我是来学习的,谢谢分享
回复

使用道具 举报

7

主题

27

帖子

133

积分

注册会员

Rank: 2

积分
133
17#
发表于 2022-11-29 13:48:13 来自手机 | 只看该作者
我也来学习学习
回复

使用道具 举报

7

主题

27

帖子

133

积分

注册会员

Rank: 2

积分
133
18#
发表于 2023-6-18 20:45:58 | 只看该作者
为什么用requests 访问网络就失败
回复

使用道具 举报

7

主题

27

帖子

133

积分

注册会员

Rank: 2

积分
133
19#
发表于 2023-6-18 20:47:09 | 只看该作者
PyPrint:"Traceback (most recent call last):"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connection.py", line 175, in _new_conn"
PyPrint:"    (self._dns_host, self.port), self.timeout, **extra_kw"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/util/connection.py", line 72, in create_connection"
PyPrint:"    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/python3.7.zip/socket.py", line 748, in getaddrinfo"
PyPrint:"socket.gaierror: [Errno 7] No address associated with hostname"
PyPrint:""
PyPrint:"During handling of the above exception, another exception occurred:"
PyPrint:""
PyPrint:"Traceback (most recent call last):"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connectionpool.py", line 710, in urlopen"
PyPrint:"    chunked=chunked,"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connectionpool.py", line 386, in _make_request"
PyPrint:"    self._validate_conn(conn)"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connectionpool.py", line 1040, in _validate_conn"
PyPrint:"    conn.connect()"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connection.py", line 358, in connect"
PyPrint:"    self.sock = conn = self._new_conn()"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connection.py", line 187, in _new_conn"
PyPrint:"    self, "Failed to establish a new connection: %s" % e"
PyPrint:"urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fca9822cac8>: Failed to establish a new connection: [Errno 7] No address associated with hostname"
PyPrint:""
PyPrint:"During handling of the above exception, another exception occurred:"
PyPrint:""
PyPrint:"Traceback (most recent call last):"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/requests/adapters.py", line 450, in send"
PyPrint:"    timeout=timeout"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/connectionpool.py", line 786, in urlopen"
PyPrint:"    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]"
PyPrint:"  File "/data/user/0/hsh.py/assets/Python/Libs/urllib3/util/retry.py", line 592, in increment"
PyPrint:"    raise MaxRetryError(_pool, url, error or ResponseError(cause))"
PyPrint:"urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: /?tn=80035161_1_dg (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fca9822cac8>: Failed to establish a new connection: [Errno 7] No address associated with hostname'))"
PyPrint:""
PyPrint:"During handling of the above exception, another exception occurred:"
回复

使用道具 举报

9

主题

41

帖子

171

积分

注册会员

Rank: 2

积分
171
20#
发表于 2023-8-23 13:52:10 | 只看该作者
感谢分享~~~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|火山软件开发平台 ( 鄂ICP备18029190号 )

GMT+8, 2024-5-10 06:51 , Processed in 0.106567 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表