python⼊门jupyter基础操作及⽂本⽤法⽬录
1.jupyter简介
2.jupyter基础操作
2.1windows更新pip库
2.2jupyter安装
2.3初次启动jupyter
shell编程代码解释2.4设置密码进⼊jupyter
#再次运⾏jupyter
3.创建⼀个jupyter⽂本
4.jupyter⽂本的⽤法
4.1保存和下载⽂本
4.2运⾏和切换代码
4.3多个代码运⾏
1.jupyter简介
Jupyter Notebook是⼀个开源的Web应⽤程序,允许⽤户创建和共享包含代码、⽅程式、可视化和⽂本的⽂档。
它的⽤途包括:数据清理和转换、数值模拟、统计建模、数据可视化、机器学习等等
2.jupyter基础操作
2.1windows更新pip库
javascript进度条
C:\Users\篮球>python -m pip install --upgrade pip -i pypi.douban/simple
python入门教程appLooking in indexes: pypi.douban/simple
Collecting pip
Downloading pypi.doubanio/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 1.1 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-21.2.4
2.2jupyter安装
#安装jupyter
pip install jupyter
#有错误提升的话,则需要安装依赖包,No module named 'x'  x显⽰什么就安装什么依赖包
vue数组转换成对象
pip install maturin
#安装插件,提⾼效率
pip install jupyter_contrib_nbextensions
#更新jupyter
pip install --upgrade jupyter
2.3初次启动jupyter
#按windows键+r 输⼊:jupyter-notebook
#google浏览器输⼊:127.0.0.1:8888 或者 localhost:8888
看到这个页⾯则成功!
2.4设置密码进⼊jupyter
C:\>CD jupyter
C:\jupyter>
#windows命令创建⽂件
C:\jupyter>jupyter notebook --generate-config                #⽣成⽂件
C:\jupyter>jupyter notebook password                          #设置密码
x x x x
#或者查看token输⼊登录
C:\jupyter>jupyter notebook list
#再次运⾏jupyter
E:\>jupyter notebook
[W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty')
[I 21:12:13.099 NotebookApp] Serving notebooks from local directory: E:\
[I 21:12:13.099 NotebookApp] Jupyter Notebook 6.4.3 is running at:
[I 21:12:13.102 NotebookApp] localhost:8888/
[I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
看到此页⾯则成功
3.创建⼀个jupyter⽂本
必利劲多久见效
4.jupyter⽂本的⽤法
4.1保存和下载⽂本
mysql数据库集与负载均衡
4.2运⾏和切换代码
4.3多个代码运⾏
以上就是python⼊门-jupyter基础操作及⽂本⽤法的详细内容,更多关于python⼊门的资料请关注其它相关⽂章!

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。