Ref

全プログラマに捧ぐ!図解「ノートブック」 – Qiita

Enter

 

python を選ぶ

image

暫く待つ

image

こんな画面になる

image

再生ボタンを押す

image

いろいろ入力していく

Shift + Enter で実行できる様子

image

Download AS Markdown を選ぶ

image

こんな感じ

image

以下、markdownそのまま磔

Welcome to Jupyter!

This repo contains an introduction to Jupyter and IPython.

Outline of some basics:

    • Notebook Basics

 

    • IPython – beyond plain python

 

    • Markdown Cells

 

    • Rich Display System

 

    • Custom Display logic

 

    • Running a Secure Public Notebook Server

How Jupyter works to run code in different languages.

You can also get this tutorial and run it on your laptop:

git clone https://github.com/ipython/ipython-in-depth

Install IPython and Jupyter:

with conda:

conda install ipython jupyter

with pip:

# first, always upgrade pip!
pip install --upgrade pip
pip install --upgrade ipython jupyter

Start the notebook in the tutorial directory:

cd ipython-in-depth
jupyter notebook
print(1)
1
print("OK!")
OK!
OWWWW
---------------------------------------------------------------------------

NameError                                 Traceback (most recent call last)

<ipython-input-3-63b91ee5210e> in <module>
----> 1 OWWWW


NameError: name 'OWWWW' is not defined

Original by Github issue

 

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

 

Twitter

 

广告
将在 10 秒后关闭
bannerAds