Skip to main content

python记录

ipynb使用

安装模块 参考文章

import sys
!{sys.executable} -m pip install matplotlib

vscode中使用

相关插件: Polyglot Notebooks(扩展Id: ms-dotnettools.dotnet-interactive-vscode)

# 需要安装的依赖
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh