In the actual Development, in addition to the compiler is a necessary tool, we often need a lot of other auxiliary software, such as: editor: used to write code, and color the code for easy reading; Code prompter: input part of the code, can prompt all the code, accelerate the code writing process; Debugger: observe every step of the program to find the logical errors of the program; Project management tools: manage all resources involved in the program, including source files, pictures, videos, third-party libraries, etc. Beautiful interface: all kinds of buttons, panels, menus, Windows and other controls neatly arranged, easy to operate. These tools are usually packaged together, distributed and installed uniformly, such as Visual Studio, Dev C++, Xcode, Visual C++ 6.0, C-Free, Code::Blocks, etc. Collectively, they are called integrated Development Environments (IDE, Integrated Development Environment). An integrated development environment is a suite of development tools. This is like the desktop, the core component of a desktop is the host, with the host can work independently, but when we buy the desktop, often with a monitor, keyboard, mouse, U disk, camera and other peripheral equipment, because only the host is too inconvenient, there must be peripherals to play cool. The same is true for integrated development environments, where only the compiler is inconvenient, so you need to add other auxiliary tools. In actual development, I generally use integrated development environments as well, rather than using a compiler alone. Common name sometimes for the convenience of the name, or beginners do not have a strict distinction between the concept, will also call the C language integrated development environment "C language compiler" or "C language programming software". Don't think of it here as a mistake, but as "country slang." Pycharm is an integrated development environment for Python. Pycharm is an integrated development environment for Python. Pycharm has two versions. Professional edition (for a fee) and community edition (free). Comunnity community edition is free, but it does not support many functions. For example, Django, which we will learn in the future, does not support it. Therefore, we still use the professional edition, but the professional edition costs more than 1000 yuan a year, which is not cheap. Once you've registered and launched, you're going to create a project, which is basically a folder where we're going to store all of our code. Each project should be configured with an interpreter. The interpreter can be different for different projects, but must be specified for each project.Copy the code

In a project, you may write hundreds or thousands of code files, all of which do not fit together well. So generally put the same function of the code in a directory, we now create a day by day for each day of learning day1,day2,day3... suchCopy the code

Create the.py fileCopy the code

Execute the codeCopy the code

Code debugging want to see the code step by step execution process? For example, if you want to see if a variable changes every time through a loop, print is too low, try pycharm's debug functionCopy the code