佳木斯湛栽影视文化发展公司

主頁(yè) > 知識(shí)庫(kù) > python入門jupyter基礎(chǔ)操作及文本用法

python入門jupyter基礎(chǔ)操作及文本用法

熱門標(biāo)簽:網(wǎng)站文章發(fā)布 服務(wù)器配置 美圖手機(jī) 智能手機(jī) 檢查注冊(cè)表項(xiàng) 呼叫中心市場(chǎng)需求 銀行業(yè)務(wù) 鐵路電話系統(tǒng)

1.jupyter簡(jiǎn)介

Jupyter Notebook是一個(gè)開(kāi)源的Web應(yīng)用程序,允許用戶創(chuàng)建和共享包含代碼、方程式、可視化和文本的文檔。

它的用途包括:數(shù)據(jù)清理和轉(zhuǎn)換、數(shù)值模擬、統(tǒng)計(jì)建模、數(shù)據(jù)可視化、機(jī)器學(xué)習(xí)等等

2.jupyter基礎(chǔ)操作

2.1windows更新pip庫(kù)

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

C:\Users\籃球>python -m pip install --upgrade pip -i https://pypi.douban.com/simple
Looking in indexes: https://pypi.douban.com/simple
Collecting pip
  Downloading https://pypi.doubanio.com/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
#有錯(cuò)誤提升的話,則需要安裝依賴包,No module named 'x'  x顯示什么就安裝什么依賴包
pip install maturin
#安裝插件,提高效率
pip install jupyter_contrib_nbextensions
#更新jupyter        
pip install --upgrade jupyter

2.3初次啟動(dòng)jupyter

#按windows鍵+r 輸入:jupyter-notebook
#google瀏覽器  輸入:127.0.0.1:8888 或者 localhost:8888

看到這個(gè)頁(yè)面則成功!

2.4設(shè)置密碼進(jìn)入jupyter

C:\&;CD jupyter
C:\jupyter>    
#windows命令創(chuàng)建文件
C:\jupyter>jupyter notebook --generate-config                 #生成文件
C:\jupyter>jupyter notebook password                          #設(shè)置密碼
x x x x

#或者查看token輸入登錄
C:\jupyter>jupyter notebook list    

#再次運(yùn)行jupyter

E:\&;jupyter notebook
[W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[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] http://localhost:8888/
[I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

看到此頁(yè)面則成功!?。?/p>

3.創(chuàng)建一個(gè)jupyter文本

4.jupyter文本的用法

4.1保存和下載文本

4.2運(yùn)行和切換代碼

4.3多個(gè)代碼運(yùn)行

以上就是python入門-jupyter基礎(chǔ)操作及文本用法的詳細(xì)內(nèi)容,更多關(guān)于python入門的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!

您可能感興趣的文章:
  • python jupyter入門教程
  • Python安裝Jupyter Notebook配置使用教程詳解
  • pycharm中jupyter的使用圖文教程
  • Jupyter notebook快速入門教程(推薦)
  • jupyter notebook快速入門及使用詳解

標(biāo)簽:河南 樂(lè)山 滄州 沈陽(yáng) 紅河 長(zhǎng)治 新疆 上海

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《python入門jupyter基礎(chǔ)操作及文本用法》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    石楼县| 个旧市| 潍坊市| 江北区| 崇信县| 莫力| 洛浦县| 西乌| 大渡口区| 靖安县| 勃利县| 甘谷县| 集贤县| 湾仔区| 弋阳县| 民勤县| 三河市| 江西省| 醴陵市| 黔南| 盈江县| 临安市| 涟水县| 荣成市| 醴陵市| 萍乡市| 红安县| 中牟县| 永济市| 兴海县| 鹤山市| 浦县| 康保县| 昌吉市| 江达县| 兴国县| 美姑县| 锦州市| 饶平县| 紫阳县| 若羌县|