Execution environment on the Web by "Project Jupyter"

Python article by @IT

When studying Python, I think it's important to first know the characteristics of the language in order to write "well-behaved" code.

So, when I investigated the features of Python, there was an article in @IT.

-What kind of language is Python?

Reading the feature that "many processes can be described in one line", I feel a little uneasy as a person who has been frustrated with Perl in the past, but it seems that the motto is "simple is better", so expect it. I will do it.

Python execution environment on the Web by "Project Jupyter"

"Available on the Web" introduced in the @IT article "What kind of language is Python?" The GUI of "Project Jupyter" which is "Python environment" has been changed a little, so I will describe the operation method.

Access the site "Project Jupyter"

First, access the "Project Jupyter" page.

https://jupyter.org/index.html

Launch Jupyter Lab

Then click "Try it in your browser" in "Jupyter Lab 1.0".

0001.jpg

You will be taken to the "Try Jupyter" page, so click "Try Jupyter Lab".

0002.jpg

The startup screen will appear, so wait for a while until it starts.

0003.jpg

The startup is completed when the following screen is displayed.

0004.jpg

Creating Python execution tags

To run Python, select the menu File-New-Notebook.

0005.jpg

Then, a dialog will be displayed, so select "Python3".

0006.jpg

A new tag will be created to run Python.

1001.jpg

Executing Python code

Enter the Python program in the text area of the new tag.

0007.jpg

Press the "▶ ︎" button on the upper side of the tag.

0008.jpg

This will execute the Python code you entered.

0009.jpg

important point

Please note that the Python execution environment on the Web by "Project Jupyter" will lose the created environment itself after a certain period of time without inputting anything, and you will have to start over from the beginning. Please note that this is just a trial environment.

Thank you for watching until the end.

Recommended Posts

Execution environment on the Web by "Project Jupyter"
Build the execution environment of Jupyter Lab
How to easily switch the virtual environment created by Conda on Jupyter
Set the environment variable PYTHONPATH on zsh
Display the graph of tensorBoard on jupyter
Download files on the web with Python
Clone the github repository on jupyter notebook
Publish the current directory on the web server
Fixed-point observation of specific data on the Web by automatically executing a Web browser on the server (Ubuntu16.04) (3) ~ Cron automatic execution ~
Prepare the execution environment of Python3 with Docker
The first web app created by Python beginners
code-server online environment (4) Launch code-server on the EC2 instance
Simply build a Python 3 execution environment on Windows
Create the strongest calculator environment with Sympy + Jupyter
Let's simulate the Izhikevich neuron model on the web!
Have pandas read the zip file on the web
Create a Python execution environment on IBM i
Remotely open Jupyter notebook launched on the server
Golang on jupyter
Jupyter on AWS
Until the web application is released on Sakura VPS
A brief note on the anger caused by scraping
Monitor the training model with TensorBord on Jupyter Notebook
Drawing on Jupyter using the plot function of pandas
Preparing the execution environment of PyTorch with Docker November 2019
Execute the command on the web server and display the result
Reflect the virtual environment created by virtualenv or conda in the IntelliJ IDEA (PyCharm) project (memo)
Fixed-point observation of specific data on the Web by automatically executing the Web browser on the server (Ubuntu16.04) (1) -Web browser installation-