2、函数调用时,f((keyword)=arg)这种写法不再允许了。 3、新增模块importlib.metadata,用以读取第三方包的信息。 ◆◆◆ ◆◆ 今日签到口令:pf2x 以上就是小编总结的大家应该会比较感兴趣的特性和改动了,如果您想查看完整的changelog,请访问这个地址(点击阅读原文也可以): https://docs.python.org/3.9/whatsne...
1 change: 0 additions & 1 deletion 1 python3-importlib-metadata/build-depends Original file line numberDiff line numberDiff line change @@ -1,3 +1,2 @@ python3-build python3-setuptools-scm python3-zipp 1 change: 0 additions & 1 deletion 1 python3-importlib-metadata/packages/python3-...
函数形参语法(用来指明某些函数形参必须使用仅限位置而非关键字参数的形式)、新增的 PYTHONPYCACHEPREFIX 设置 (也可使用 -X pycache_prefix) 可将隐式的字节码缓存配置为使用单独的并行文件系统树,而不是默认的每个源代码目录下的 __pycache__子目录等等;新增importlib.metadata 模块提供了从第三方包读取元数据的(...
Requirement already satisfied: click>=3.3 in c:\users\chenx\appdata\local\programs\python\python310\lib\site-packages (from mkdocs) (8.1.2) Requirement already satisfied: importlib-metadata>=4.3 in c:\users\chenx\appdata\local\programs\python\python310\lib\site-packages (from mkdocs) (4.11.3...
其中安装opencv-python,还需要安装yum install mesa-libGL.x86_64 certifi==2021.5.30 chardet==4.0.0 click==8.0.1 colorlog==5.0.1 decorator==4.4.2 Flask==2.0.1 idna==2.10 imageio==2.9.0 imageio-ffmpeg==0.4.4 importlib-metadata==4.6.0 ...
import importlib;importlib.reload(modulename) 6.1.1 将模块作为脚本执行 当你运行Python模块时 python fibo.py <arguments> 将执行模块中的代码,就像您导入它一样,但__name__设置为"__main__"。这意味着通过在模块的末尾添加此代码: if __name__ == "__main__": import sys fib(int(sys.argv[1]...
inexec_module File"eth_typing\init.py", line75,in<module> File"importlib\metadata\init.py", line1008,inversion File"importlib\metadata\init.py", line981,indistribution File"importlib\metadata\init.py", line565,infrom_name importlib.metadata.PackageNotFoundError: No package metadata was...
importlib-metadata 4.8.3 importlib-resources 5.4.0 invoke 2.2.0 isort 5.10.1 itsdangerous 2.0.1 Jinja2 3.0.3 jmespath 0.10.0 kafka 1.3.5 lazy-object-proxy 1.7.1 lxml 5.1.0 MarkupSafe 2.0.1 mccabe 0.7.0 multidict 5.2.0 Nuitka 1.4.7 numpy 1.19.5 openpyxl 3.1.2 pandas 1.1.5 paramiko ...
{ "name": "importlib_metadata", "version": "0.23-py27_0" }, { "name": "intel-openmp", "version": "2019.4-243" }, { "name": "ipaddress", "version": "1.0.22-py27_0" }, { "name": "ipykernel", "version": "4.10.0-py27_0" }, { "name": "ipython", "version": "5.8...
(from importlib-metadata>=0.12; python_version < "3.8"->pytest) (3.1.0) Installing collected packages: pytest Successfully installed pytest-5.4.1 HelendeMacBook-Pro:bin helendai$ python3 -m pip list Package Version --- --- certifi 2019.11.28 cffi 1.14.0 chardet 3.0.4 cryptography 2.8 idn...