Skill - Setup python development environment
Software to be installed
- Download and Install python in your PC from https://www.python.org/downloads/
- Download and Install Visual Studio Code (VS Code) as a code editor from https://code.visualstudio.com/download
- Install python extension in Visual Studio Code using menu View -> Extensions as shown below
Working on a project
-
Create a new folder in your computer
-
Open Visual Studio Code in your computer
-
Open the created folder in Visual Studio Code using menu File -> Open Folder
-
Now you can create and manage python files in visual studio code.
-
Python files have extension .py. For example we can have a python file like
hello.py
-
Manage files using the File Explorer tab in the left sidebar as shown below
-
Run python files using play button in the top-right side of the editor
-
You can Debug python files using menu Run->Start Debugging
Video
The video tutorial for this post can be found here
Further Reading
-
For more beginner tutorial on VS Code visit https://code.visualstudio.com/docs/python/python-tutorial
-
For more info on setting up python extension in VS Code visit https://marketplace.visualstudio.com/items?itemName=ms-python.python
-
For beginner videos on VS Code visit https://code.visualstudio.com/docs/getstarted/introvideos
SKILL ID = IZEPB
Thanks for your Usefull content
ReplyDelete