A memo that uses an interactive display mode like Jupyter notebook with VSCode + Python

background

Method

Working with the Python Interactive window https://code.visualstudio.com/docs/python/jupyter-support-py

Just create a Python file and type # %% to get a notebook-like interactive mode! (# And %% can be either with or without spaces)

jupyter related If it is not installed, it will pop up if you want to install it!

Screenshot from 2020-07-02 18-03-31.png

Cell is annotated on the VSCode side.

Is it possible to display inline by setting various settings?

On macOS, it may not work if you are not careful about installing python and jupyter addon!

TODO

Recommended Posts

A memo that uses an interactive display mode like Jupyter notebook with VSCode + Python
[Jupyter Notebook memo] Display kanji with matplotlib
A memo that I touched the Datastore with python
A memo that reads data from dashDB with Python & Spark
Use a macro that runs when saving python with vscode
Python memo Anaconda x Jupyter Notebook
Make a sound with Jupyter notebook
A game to go on an adventure in python interactive mode
[Python] A memo that I tried to get started with asyncio
A memo that allows you to change Pineapple's Python environment with pyenv
[Python] A program that creates stairs with #
A memo with Python2.7 and Python3 on CentOS
Linking python and JavaScript with jupyter notebook
A typed world that begins with Python
Create test data like that with Python (Part 1)
A memo that I wrote a quicksort in Python
Create an app that guesses students with python
[Python] Make a game with Pyxel-Use an editor-
Building an environment that uses Python in Eclipse
A memo that made a graph animated with plotly
Interactively display algebraic curves with Python and Jupyter
Create a page that loads infinitely with python
A memo when creating a python environment with miniconda
Try Python interactive mode inside a Docker container
Create an exe file that works in a Windows environment without Python with PyInstaller
Writing notes when running a normal python executable (file containing argparse) with Jupyter notebook
A memo that detects and returns an image acquired from a webcam with Django's OpenCV
File overwrite confirmation with option that takes a file object as an argument with Python argparse
Jupyter Notebook memo
Jupyter Notebook memo
Virtual environment construction with Docker + Flask (Python) + Jupyter notebook
A memo connected to HiveServer2 of EMR with python
Note that writing like this with ruby is writing like this with python
Make a simple Slackbot with interactive button in python
How to use python interactive mode with git bash
Drawing a tree structure with D3.js in Jupyter Notebook
Forcibly draw something like a flowchart with Python, matplotlib
A server that echoes data POSTed with flask / python
[Python] A memo to write CSV vertically with Pandas
A memo about building a Django (Python) application with Docker
How to deal with the phenomenon that Python (Jupyter notebook) executed on WSL becomes Aborted
Are you still using Jupyter Notebook? Enjoy a comfortable Python life with Jupyter Life (.py) with VS Code ?!