python基础知识

Catalogue
  1. 1. python的三个版本区别
  2. 2. jupyter
  3. 3. 参考资料

python的三个版本区别

  • web-based installer 是需要通过联网完成安装
  • executable installer 是可执行文件(*.exe)方式安装
  • embeddable zip file 嵌入式版本,可以集成到其它应用中

jupyter

  • 安装
1
2
3
4
5
# 安装过程比较漫长,大概需要5min左右
pip install jupyter

# 运行
jupyter notebook
  • 配置
1
2
3
4
5
# 生成配置文件
jupyter notebook --generate-config

# 找到配置文件,更改默认目录
c.NotebookApp.notebook_dir = 'H:\PyCoding'

参考资料