Python学习笔记
环境搭建
Windows:
临时使用清华源配置pip3:pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple 包名称
Spyder环境
Spyder自带Python环境,目前自带版本为3.12.11,如果要切换环境,需要在Tools-Preferences-Python interpreter中手动设置自己安装的Python环境目录
需要安装pip3 install spyder-kernels==3.1.*以适配Spyder GUI环境
常用Python语法
# 输出Python版本 import sys print(sys.version)
第三方库:PyWebIO、VisPy、taipy、cuGraph、kornia、Pynsist、PyVista、PuePy、NiceGUI、CherryPy、MagicGUI、DearPyGui、Pyqtgraph、Gooey、NodeGraphQt、Pendulum、、、、、、