python : Setup VS Code
Steps:
- Make sure VS code is installed
- Install python extension from Microsoft
- run this in shell
import sys
for pth in sys.path:print(pth)
- Goto > Preferences>Settings >users
- Search for Python > Python Path >add path "/usr/lib/python39/python.exe"
- At the bottom you should see the interpreter name
Pylint
- Ctrl+shift+P
- Search for Python:Select Linter
- Choose pylint and enable
No comments:
Post a Comment