全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果61个

Django3.0 异步通信初体验(小结)_python_脚本之家

idna 2.8 incremental 17.5.0 pip 10.0.1 pyasn1 0.4.8 pyasn1-modules 0.2.7 pycparser 2.19 PyHamcrest 1.9.0 pyOpenSSL 19.1.0 pytz 2019.3 service-identity 18.1.0 setuptools 39.1.0 six 1.13.0 sqlparse 0.3.0 Twisted 19.10.0 txaio 18.8.1 zope.interface 4.7.1不管...
www.jb51.net/article/1757...htm 2024-7-12

如何把外网python虚拟环境迁移到内网_python_脚本之家

-rw-r--r--. 1 root root 58388 May 14 12:16 idna-2.9-py2.py3-none-any.whl -rw-r--r--. 1 root root 30763 May 14 12:16 importlib_metadata-1.6.0-py2.py3-none-any.whl -rw-r--r--. 1 root root 16743 May 14 12:16 itsdangerous-1.1.0-py2.py3-none-any.whl ...
www.jb51.net/article/1868...htm 2024-7-11

Python如何实现MySQL实例初始化详解_python_脚本之家

4 idna-2.6 requests-2.18.4 [root@dbj4st] /data0/dbj1st/promotion$需要安装DependencyWarning1 2 3 4 [laobanzhang@dbj1st] ~/dbj1st/promotion$ python initstance.py 6 exception: cannot import name DependencyWarning [laobanzhang@dbj1st] ~/dbj1st/promotion$...
www.jb51.net/article/1275...htm 2024-7-7

Python如何快速生成本项目的requeirments.txt实现_python_脚本之家

idna==3.3 imagecodecs @ file:///C:/ci/imagecodecs_1635529223557/work imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work importlib-metadata @ file:///C:/ci/importlib-metadata_1648562631189/work importlib-resources==5.9.0 iopath==0.1.9 ipykernel @ file:///C:/ci/ipykernel...
www.jb51.net/article/2778...htm 2024-7-12

Python单元测试的9个技巧技巧_python_脚本之家

test_idna_without_version_attribute和test_idna_with_version_attribute均有一个mocker参数,这是pytest-mock提供的功能,会自动注入一个mock实现。使用这个mock对idna模块进行模拟 1 2 3 4 # 模拟空实现 mocker.patch('requests.help.idna', new=None) # 模拟版本2.6 mocker.patch('requests.help.idna', ne...
www.jb51.net/article/2243...htm 2024-7-13

Python全角与半角之间相互转换的方法总结_python_脚本之家

fromidnaimportunichr defall_to_half(all_string): """全角转半角""" half_string="" forcharinall_string: inside_code=ord(char) ifinside_code==12288:# 全角空格直接转换,全角和半角的空格的Unicode值相差12256 inside_code=32 elif(inside_code >=65281andinside_code <=65374):# 全角字符(除空格)根...
www.jb51.net/article/2426...htm 2024-7-8

python如何编写win程序_python_脚本之家

#packages = ["os", "idna", "requests","json","base64","pyodbc"] packages=["os","idna","requests","json","base64"] setup( name="appname", description='App Description', version=__version__, options={"build_exe": { 'packages': packages, ...
www.jb51.net/article/1882...htm 2024-7-12

Python3离线安装Requests模块问题_python_脚本之家

idna-2.8-py2.py3-none-any.whl requests-2.22.0-py2.py3-none-any.whl urllib3-1.25.6-py2.py3-none-any.whl 安装模块 将以上下载的文件传到测试环境。离线装模块。 安装命令为 pip install XXXXX.whl 切记,先安装依赖包,如果直接安装requests,由于有依赖包,还是会去连外网找依赖包。 1 2 3 4 5 ...
www.jb51.net/article/1718...htm 2024-7-12

什么是python的自省_python_脚本之家

__future__ bdb idna runscript __main__ binascii idna_ssl sched _ast binhex imaplib scrolledlist _asyncio bisect imghdr search _bisect browser imp ... Enteranymodule name to get morehelp. Or,type"modules spam"to search formodules whose nameorsummary contain the string"spam". ...
www.jb51.net/article/1891...htm 2024-7-12

Mac中Python 3环境下安装scrapy的方法教程_python_脚本之家

6 idna-2.6 ipaddress-1.0.18 pycparser-2.18 pyopenssl-17.3.0 更新OpenSSL 成功,再次尝试执行 scrapy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ➜ ~ scrapy Scrapy 1.4.0 - no active project Usage: scrapy [options] [args] Available commands: bench Run quick benchmark...
www.jb51.net/article/1267...htm 2024-7-13