分类目录归档:python

【置顶】jupyter lab 使用


1、 安装 jupyterlab,代码补全,中文等

pip install jupyterlab
//或者
conda install -c conda-forge jupyterlab

pip install jupyter-lsp
pip install jupyterlab-lsp
pip install python-lsp-server
pip install jupyterla...

Read more

【置顶】flask 本地https调试


本地证书生成

使用mkcert工具

mkcert-v1.4.1-windows-amd64.exe example.com 127.0.0.1 localhost --cert-file  cert-file文件名   --key-file  key-file文件名

运行

  • 如果是用python调用app.py的main方法启动的话,只需要在main函数中写入

    ssl_context...

Read more

【置顶】python精选库


底层基建

环境管理

管理 Python 版本和环境的工具 - p:非常简单的交互式 python 版本管理工具。 - pyenv:简单的 Python 版本管理工具。 - Vex:可以在虚拟环境中执行命令。 - virtualenv:创建独立 Python 环境的工具。 - buildout:在隔离环境初始化后使用声明性配置管理。

包管理

管理包和依赖的工具。 - pip:Python 包和...

Read more