(windows) python dev. environment setting for arduino
Intro
OS : Windows 10
SW :
- Arduino IDE
- python : programming language
- Visual Studio Code : Editor
1. Arduino IDE
Download : IDE 2.2.1
arduino.cc/en/software
2. python
powershell
PS: python
Microsoft Store
python 3.X install
3. Visual Studio Code
Download
https://code.visualstudio.com/download
- extensions
Korean Language Pack for Visual Studio Code
Python
Arduino
Prettier Code formatter : vscode 자동 정렬
Bracket Pair Color DLW : { } color 가독성
indent-rainbow : 들여쓰기 가독성
IntelliCode : 자주쓰는 기능 자동완성
Code Spell Checker
ESLint : code 자동 형식화
Setting #Keyboard Shortcuts
설정 > Keyboard Shortcuts
python run : ctrl + shift + 'b'
Setting #terminal profile
Terminal > Intergrated > Profiles: Windows
null, powershell, command prompt
Setting #virtualvenv(가상환경)
PS : python -m venv venvs
ctrl + shift + P : select interpreter
C:\Users\ID\wenvs\Scripts\python.exe
or PS: C:\Users\ID\wenvs\Scripts\activate
(venvs) PS: