What beginner Python require software installation? Super practical, White must see!

Programming this thing is really wonderful. For people who know, you will think how this tool is easy to use, fun, and for white is just as big as mountains. In fact, this can understand, we are so over.

Then the next say about the python-related things right, and that my understanding of programming. I am also a white, if there is something wrong place, please also pointed out that the great God ~

01

Glossary

If the contact is relatively small in terms of programming, then for this piece of software, there are a few terms must understand, such as the development environment, IDE, code editor, compiler, debugger, and so on, I'll list from Baidu Encyclopedia about this a few words of explanation.

Development Environment:

Software development environment (Software Development Environment, SDE) is a set of hardware and software in the basic software of the digital, to support engineering development and maintenance of system software and application software, and use of, referred to SDE. It consists of software tools and environment integration mechanism, the former to support software development related processes, activities and tasks, the latter as a tool for integration and software development, maintenance and management to provide unified support.

HERE:

Integrated development environment (IDE, Integrated Development Environment) is an application program for providing a development environment, typically including code editor, a compiler, a debugger, and the like graphical user interface tools. Integrated coding function, integrated analysis capabilities, compilation, debugging features such as software development services suite.

All have this characteristic of software or software suite (group) can be called an integrated development environment. Series such as Microsoft Visual Studio, Borland's C ++ Builder, Delphi series.

The program can run independently, and other programs may be used in combination. IDE is used to develop multi-HTML applications. For example, many people use when designing websites IDE (such as HomeSite, DreamWeaver, etc.), because many tasks are automatically generated.

translater:

Simply speaking, the compiler is the "one language (usually high-level language)" "another language (usually low-level language)" program for the translation. The main work processes a modern compiler: the source code (source code) → pre-processor (preprocessor) → compiler (compiler) → object code (object code) → Linker (Linker) → executable programs (executables).

High-level computer language easy to write people, read the exchange, maintenance. Machine language is a computer can directly interpret run. The compiler will be compiled or high-level computer language source code (Source program) as input, translated into the target language (Target language) machine code equivalent program.

The source code is generally high-level language (High-level language), such as Pascal, C, C ++, Java , Chinese language programming, or assembly language, and the target is the machine language object code (Object code), sometimes referred to as machine code ( Machine code). For C #, VB and other high-level language, the compiler at this time it performs the function to the source (of SourceCode) compiled Common Intermediate Language (MSIL / CIL) bytecode (ByteCode). The last time running through the common language runtime conversion, the final machine code programming (NativeCode) can be directly calculated CPU.

In fact, Baidu Encyclopedia for the interpretation of these terms has been very thorough, but for some partners new to the program, it may still be difficult to understand.

Simply speaking, to our common language, for example JAVA, in fact, if you want to write a program, if your computer has the JDK installed, then in fact you do not need any other software can achieve some functionality.

That someone will ask, I think we are used to write JAVA eclipse ah, yes, we write JAVA most people use eclipse, but you know, that software called IDE, or is an editor, a simple version of the eclipse is does not provide the JDK, JDK is the need to separate ourselves installed, this JDK is a development environment, you have to write good code, if you want to compile and run, you need JDK development environment that supports, rather eclipse is provided to let you edit , commissioning and use of a JDK to compile the program, that is to say, what you write your editor does not affect the program, and these editors is to make you more efficient, convenient debugging, which is optional, and development environment is mandatory.

02

Python development environment

Well, we tirade say so many things about other languages, is to make the main understanding of the relationship UP software, then we have a conversation Pyhton.

In fact, Python and other programming languages ​​as well as points are not the same, it is a scripting language, just as MATLAB language, we can also call it interpreted language bar.

Thus, the process of running python, and our traditional languages, such as C, C ++ compiler of this language are not the same, python running is actually a process of interpretation , so it needs an interpreter. If you want to run a Python program, so essential to the development environment is Python,

Python development environment Download: www.python.org 

03

Python IDE recommendation

With the development environment, you need to have the editor software like. In fact, when you install Python development environment, it already comes with an editor called IDLE, but honestly, this editor favors it really is not very comfortable, especially the editing of projects when relatively large. Moreover, the universal Notepad can edit Python, but we certainly can not do that right? So then recommend several editors can edit python.

notepad++:

Notepad ++ is a text editor (software copyright license: GPL) under the Windows operating system, a complete cultural interfaces and support the development of multi-language functionality (UTF8 technology).

Notepad ++ powerful than the Windows Notepad (Notepad), in addition to making a general text documentation is also very suitable for writing computer code. Notepad ++ is not only syntax highlighting, syntax also folded, and support for macros and plug-in expansion modules basic functions.

Notepad ++ is a free software, free to use, comes with Chinese, the support of many computer programming languages: C, C ++, Java, pascal, C #, XML, SQL, Ada, HTML, PHP, ASP, AutoIt, and so many.

notepad ++ download address: Homenotepad-plus-plus.org 

Eclipse (recommended):

Eclipse is an open source, Java-based extensible development platform. On its own, it is only a framework and a set of services for building development environments by plug-in component. Fortunately, Eclipse comes with a standard set of plug-ins, including Java development tools (Java Development Kit, JDK). Eclipse is not limited to the preparation of JAVA, it can also be written in C, python and other procedures, and Eclipse is very comfortable in the preparation of Python, is recommended.

Eclipse Download: at The Eclipse Foundationwww.eclipse.org 

PyCharm (recommended):

PyCharm is a Python IDE, can help users with a set of productivity tools to improve their use Python language development, such as debugging, syntax highlighting, Project management, code branches, IntelliSense, auto-complete, unit testing, version control . In addition, the IDE provides some advanced features, support for professional Web development under the Django framework. PyCharm in terms of writing and debugging Python can be described as strong, easy to use software, powerful, is recommended.

PyCharm Download: https://www.jetbrains.com/pycharm/

The Pro version of the software is paid software, free if you want to use, you can use the Community Edition.

VS Code:

Visual Studio Code (abbreviated VS Code / VSC) is a free open source lightweight modern code editor that supports almost all mainstream development language syntax highlighting, smart code completion, custom hotkeys, bracket matching, code, fragments of code comparison Diff, GIT and other features, support for plug-in extensions, and the cloud for web development and application development optimized. Cross-platform software support Win, Mac and Linux. This software is so beautiful, I can not help but put a picture.

 VS Code Screenshots

VS Code Download: code.visualstudio.com 

Anaconda (recommended):

In the end, no choice but to recommend Anaconda, this software is a one-stop service, which integrates the Python runtime environment, and integrated more than 100 libraries, in addition to the software, there is also Anaconda Navigtor, Jupyter notebook, qtconsole and spyder etc., due to the integration of more functions, together with relatively few peace of mind.

Anaconda Download:

https://www.anaconda.com/download/www.anaconda.com

Would like to hope that these partners into the pit of help.

Guess you like

Origin blog.csdn.net/sinat_38682860/article/details/94763300