[PYTHON] I tried to touch jupyter

I tried using Ipython

How to use Ipython NoteBook (jupyter)

1. Launch Ipython

```
$ ipython
```

When you type on the terminal

```
$ ipython
Python 3.5.1 |Anaconda 2.5.0 (x86_64)| (default, Dec  7 2015, 11:24:55)
Type "copyright", "credits" or "license" for more information.

IPython 4.0.3 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]:
```

Come out like this You can use it here as usual in python's interactive mode

2. Launch Ipython notebook (jupyter)

Input with terminal

```
$ ipython notebook
[I 18:53:37.307 NotebookApp] The port 8888 is already in use, 	trying another random port.
[I 18:53:37.373 NotebookApp] Serving notebooks from local 	directory: /Users/hoge/test
[I 18:53:37.374 NotebookApp] 0 active kernels
[I 18:53:37.374 NotebookApp] The Jupyter Notebook is running at: 	http://localhost:8889/
[I 18:53:37.374 NotebookApp] Use Control-C to stop this server 	and shut down all kernels (twice to skip confirmation).
```

The teminal becomes like this And jupyter starts on the browser

スクリーンショット 2016-03-03 18.54.24.png

Next, display the same screen as 1.

スクリーンショット 2016-03-03 19.10.01.png Click where the python version is written in Notebooks Here, click * python3 *

スクリーンショット 2016-03-03 19.13.27.png It will be like this, and here we will type in the python code What you write will be saved in the directory where you started your ipython notebook You can execute and self-palm at the same time on the browser with [* Command + return *].

To quit, press [* Command + C *].

Recommended Posts

I tried to touch jupyter
I tried to touch Python (installation)
I tried to touch Tesla's API
I tried to debug.
I tried to touch the COTOHA API
I tried to paste
I tried using Jupyter
I tried to touch Python (basic syntax)
I tried to touch Python's GUI library "PySimple GUI"
I tried to start Jupyter with Amazon lightsail
I tried to organize SVM.
I tried to implement PCANet
I tried to reintroduce Linux
I tried to introduce Pylint
I tried to summarize SparseMatrix
I tried to implement StarGAN (1)
I tried to touch the CSV file with Python
I tried to create Quip API
I tried to implement adversarial validation
I tried to explain Pytorch dataset
I tried Watson Speech to Text
I tried to implement hierarchical clustering
I tried to organize about MCMC.
I tried to implement Realness GAN
Somehow I tried using jupyter notebook
I tried to move the ball
I tried to estimate the interval.
I tried VS Code's Jupyter notebook
I tried to create a linebot (implementation)
I tried to summarize Python exception handling
I tried to implement PLSA in Python
I tried using Azure Speech to Text.
I tried to implement Autoencoder with TensorFlow
I tried to summarize the umask command
I tried to implement permutation in Python
I tried to create a linebot (preparation)
I tried to visualize AutoEncoder with TensorFlow
I tried to get started with Hy
I tried PyQ
I tried to implement PLSA in Python 2
Python3 standard input I tried to summarize
I tried AutoKeras
I tried to summarize the graphical modeling.
I tried adding post-increment to CPython Implementation
I tried to implement ADALINE in Python
I tried to let optuna solve Sudoku
I tried to estimate the pi stochastically
I tried to visualize BigQuery data using Jupyter Lab on GCP
I tried to implement PPO in Python
I tried papermill
I tried to implement CVAE with PyTorch
I tried to make a Web API
I tried to solve TSP with QAOA
[Python] I tried to calculate TF-IDF steadily
I tried simple image recognition with Jupyter
I tried django-slack
I tried Django
I tried spleeter
I tried cgo
I tried my best to return to Lasso
I tried to summarize Ansible modules-Linux edition