Do something like a Python interpreter in Visual Studio Code

Background

I wanted to do the same with Visual Studio Code because the PyScripter interpreter I used so far was convenient.

Make Python the default language

Useful for people who only use Python for development. Search for "new file" from Settings and set Default Language to python

スクリーンショット 2019-11-22 21.38.08.png

Install AREPL

VS Code extension that displays the execution result in real time when you create Python code. I think there are other extensions with these extensions,

スクリーンショット 2019-11-22 22.04.45.png

If you create a new file with this, it will be recognized as a Python file without saving it in .py format, and if you start AREPL, the execution result will be displayed in real time.

スクリーンショット 2019-11-22 22.12.26.png

Recommended Posts

Do something like a Python interpreter in Visual Studio Code
Do something like Redis transactions in Python
Settings for Python coding in Visual Studio Code
Python development in Visual Studio 2017
Python development in Visual Studio
Something like JS setTimeout in python
I want to do something like sort uniq in Python
Something like tail -f in Python
Expand a Python nested dictionary to do something like Pandas' MultiIndex
Try to create a python environment with Visual Studio Code & WSL
Bash, Python, Javascript, code command, etc. in Visual Studio Code on Mac
I wanted to do something like an Elixir pipe in Python
Try it when Visual Studio Code can't load a Python module
A memo for those who use Python in Visual Studio (me)
Do a non-recursive Euler Tour in Python
Run the Python interpreter in a script
Do you make something like a rocket?
Try something like Python for-else in Ruby
Run Python in C ++ on Visual Studio 2017
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Build Python development environment with Visual Studio Code
Run Python YOLOv3 in C ++ on Visual Studio 2017
Time when terminal disappears in Visual Studio Code
I get an error when I put a Python plugin in Visual Studio Code under the pyenv environment
[Visual Studio Code] [Python] Tasks.json + problemMatcher settings for Python
Highlight Python user function calls in Visual Studio Code (vscode) Default Dark + theme
A note I was addicted to when running Python with Visual Studio Code
Translator in Python from Visual Studio 2017 (Microsoft Translator Text API)
A collection of code often used in personal Python
App development to tweet in Python from Visual Studio 2017
A memorandum when writing experimental code ~ Logging in python
Forcibly draw something like a flowchart with Python, matplotlib
Make Visual Studio Code autocomplete for python external libraries
Python development environment with Windows + Anaconda3 + Visual Studio Code
Python development environment with Windows + Python + PipEnv + Visual Studio Code
Until you run server Django in Visual Studio Code
Japanese output when dealing with python in visual studio
AWS SDK for Python (Boto3) development in Visual Studio 2017
I want to do something in Python when I finish
Take a screenshot in Python
Install numpy in Visual Studio 2019
How to use linux commands in Visual Studio Code terminal
Create a function in Python
Create a dictionary in Python
Why do you add a main ()-if statement in Python?
How to debug the Python standard library in Visual Studio
Enable the virtualenv Python virtual environment for Visual Studio Code
How to import a file anywhere you like in Python
[Visual Studio Code] [Python] [Windows] Support for garbled Japanese characters in Python in VS Code task / debug output
It's a hassle to write "coding: utf-8" in Python, so I'll do something with Shellscript
Install python and Visual Studio Code on windows10 (April 2020 version)
Make a bookmarklet in Python
Create code that outputs "A and pretending B" in python
Bottle Pug in Visual studio 2019
Generate QR code in Python
I made a puzzle game (like) with Tkinter in Python
Draw a heart in Python
Character code learned in Python
A set of script files that do wordcloud in Python3
Create a Python environment for professionals in VS Code on Windows
[Python] How to force a method of a subclass to do something specific