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 *].

You can exit with [* Command + C *].

Recommended Posts

I tried using Ipython
I tried using argparse
I tried using anytree
I tried using aiomysql
I tried using Summpy
I tried using coturn
I tried using "Anvil".
I tried using Hubot
I tried using ESPCN
I tried using PyCaret
I tried using cron
I tried using ngrok
I tried using face_recognition
I tried using Jupyter
I tried using PyCaret
I tried using Heapq
I tried using doctest
I tried using folium
I tried using jinja2
I tried using folium
I tried using time-window
[I tried using Pythonista 3] Introduction
I tried using easydict (memo).
I tried face recognition using Face ++
I tried using Random Forest
I tried using BigQuery ML
I tried using Amazon Glacier
I tried using git inspector
[Python] I tried using OpenPose
I tried using magenta / TensorFlow
I tried using AWS Chalice
I tried using Slack emojinator
I tried using Rotrics Dex Arm # 2
I tried using Rotrics Dex Arm
I tried using GrabCut of OpenCV
I tried using Thonny (Python / IDE)
I tried server-client communication using tmux
I tried reinforcement learning using PyBrain
I tried deep learning using Theano
Somehow I tried using jupyter notebook
[Kaggle] I tried undersampling using imbalanced-learn
I tried shooting Kamehameha using OpenPose
I tried using the checkio API
[Python] I tried using YOLO v3
I tried asynchronous processing using asyncio
I tried PyQ
I tried AutoKeras
I tried papermill
I tried django-slack
I tried Django
I tried spleeter
I tried cgo
I tried using Amazon SQS with django-celery
I tried using Azure Speech to Text.
I tried using Twitter api and Line api
I tried playing a ○ ✕ game using TensorFlow
I tried using YOUTUBE Data API V3
I tried using Selenium with Headless chrome
I tried drawing a line using turtle
[Kaggle] I tried ensemble learning using LightGBM
I tried using PyEZ and JSNAPy. Part 2: I tried using PyEZ