1 Introduction
Mac generally comes with a python environment. Entering python in the terminal will have relevant environment information
. The simple steps to install Python on the Window platform are as follows
- Open a web browser and visit https://www.python.org/downloads/windows/
- Select one of the versions to download. After downloading, double-click the download package to enter the Python installation wizard. The installation is very simple. You only need to use the default settings and click "Next" until the installation is complete.
2 IDEA Zhongan Python Plugin
Install Python Plugins in IDEA (Idea does not install Python by default, it needs to be installed in plugins) The specific operation is as follows:
After install, restart IDEA.
3 Create a python project
In IDEA, select file -> new project
For the windos environment, if you have downloaded python.exe, the idea will automatically recognize it, then keep clicking next, and finally set the project name, finish
For mac environment
-
Django: It is a free and open source web framework developed in Python, which can be used to quickly build high-performance and elegant websites
-
Google App Engine: is a tool that lets you run your web applications on Google's infrastructure
-
SQL Support: is a framework that supports SQL
4 Create a python file and run
Right-click on the project name to create a python file
and enter in the created file
m = 20
n = 20
print("m+n=", n + m)
Then right click on the file and run