递归火山软件开发平台
标题:
安卓Python调用资产文件的列子
[打印本页]
作者:
wrx198728
时间:
2021-3-20 09:13
标题:
安卓Python调用资产文件的列子
本帖最后由 wrx198728 于 2021-3-20 09:29 编辑
添加目录下面需要有 以下路径 \Python\Libs\ py文件 或 包 或 第三方库
目前只会这个笨办法
之前试过其他办法都失败了
PC和安卓都能通用代码
PC上面用使用PyCharm标记为源目录即可
作者:
周生生
时间:
2021-3-20 10:15
作者:
zhongguoren
时间:
2021-3-31 14:00
学习一下!!!
作者:
zzyhzb
时间:
2021-5-8 11:39
学习.................
作者:
lydxp
时间:
2021-7-14 17:28
学习下,谢谢。。。。
作者:
song13521
时间:
2021-12-11 09:57
学习一下
作者:
1234hu
时间:
2021-12-11 15:17
试试看。。。。。。。。。。。
作者:
xingsijun
时间:
2021-12-28 14:46
看看 学习学习
作者:
longcpu
时间:
2022-1-7 14:57
pythonpython
作者:
ygm211
时间:
2022-2-23 09:52
学习一下,谢谢
作者:
kuangren001
时间:
2022-2-27 21:50
学习中。谢谢楼主
作者:
play
时间:
2022-3-3 11:08
666666666666666666666
作者:
小小屋
时间:
2022-10-9 05:21
学习一下
作者:
m331997552
时间:
2022-10-11 10:44
学习.................
作者:
qsw296062081
时间:
2022-10-11 11:03
必须赞一个
作者:
liyou1233
时间:
2022-11-28 15:00
我是来学习的,谢谢分享
作者:
zlw0901
时间:
2022-11-29 13:48
我也来学习学习
作者:
zlw0901
时间:
2023-6-18 20:45
为什么用requests 访问网络就失败
作者:
zlw0901
时间:
2023-6-18 20:47
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:"
作者:
azmy2010
时间:
2023-8-23 13:52
感谢分享~~~~~
作者:
824803755
时间:
2023-8-31 10:17
微软微软微软
作者:
xiaol123
时间:
2023-10-15 21:45
ython调用资产文件的列子
作者:
续梦
时间:
2024-1-7 21:00
PC上面用使用PyCharm标记为源目录即可
作者:
华阿姨
时间:
2024-10-28 02:07
小潘潘!!!
作者:
zgj9911
时间:
2025-1-8 18:58
感谢分享
作者:
77988229
时间:
2025-5-6 23:56
111111111111111
欢迎光临 递归火山软件开发平台 (https://bbs.voldp.com/)
Powered by Discuz! X3.4