Although we have installed Python, we can start to write the Python code with a plain text editor directly. However, other IDE tools provide an efficient way to focus on the programming itself, such as Visual Studio Code, PyCharm, etc… Let’s start the installation of Visual Studio Code and enjoy the Python programming.
Install Visual Studio Code
- Visit the Visual Studio Code download page in your browser and download it.
- Use Finder to find the download folder and drag the Visual Studio Code.app from the zip file to the Application folder in Finder.
Install the Python extension
- Launch the Visual Studio Code by searching code in Spotlight.
- Search Python in Visual Studio Code Extensions view and install the extension published by Microsoft.
When the installation is complete. You can start to write your 1st Python program.
Create your 1st Python application
- Launch the Visual Studio Code and new a Python file.
- Type the 101 application in any programming language to say hello!!!
print("Hello, Python!!!")
- Save it as hello.py and run the program.
Start the 1st step for Python programming and enjoy it.