```
$ 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
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
Next, display the same screen as 1.
Click where the python version is written in Notebooks Here, click * python3 *
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