Start Python programming with PyCharm and Visual Studio in Windows, and use pycharmpython
Build a python development environment in Windows
First, go to the python official website to download the environment. Move the cursor to the Downloads tab, where you can download it.
The python environment is still very user-friendly. There are not so many redundant configurations or anything. After downloading the environment, you can simply click "next" until you finish.
Python IDE
There are many excellent Python ides. Here I will introduce a few of them that are relatively common to me! Ranking in no particular order!
- Pycharm
- VIM
- Eclipse with PyDev
- Sublime Text
- Komodo Edit
- PyScripter
- Interactive Editor for Python
PyCharm
Here, pycharm is used as an example.
Pycharm is free for 30 days by default.
Starting from Hello World
Hello world is relatively simple. After the environment is set up, it can be done in one breath. Here I will map it directly.
First open the installed pycharm
Click create to create a project
Print a "Hello World"
In fact, for "Learning python", we recommend that you use pycharm. pycharm can be used to set various IDE codes such as VS or eclipse, making it easier for most users who prefer to use IDE in other languages. This compatibility is indeed very good. However, since so many park friends require vs to develop python, we will introduce the python development environment in visual studio 2015.
VS 2015 build a Development Environment
Before the official start, you must first have visual studio2013/2015 on your computer. If not, download a visual studio
1. Create a project:
2. Download environment:
After creating a good job, click Run. The following interface will appear, click Download, and install
2. test environment:
OK. The operation is successful!