ComputersProgramming

Python is the development environment. Python 3 for Beginners

Python is one of the most promising modern programming languages. It is flexible and simple, its code is transparent and very clear: that's why many programmers choose this language. Training will be relatively easy even for those who have no experience in programming, but everything needs to start with the basics - from simple to complex.

Development environment

IDE (IDE) is an integrated development environment. This is the name of a number of programs that programmers use in the complex. Simply put - it's a program for writing programs. Typically, the IDE includes a text editor (although the programmer can do this in a third-party application and even "on the knee"), the interpreter and the compiler (one or both components can be used), the debugger, the assembly automation tool.

The environment can sometimes contain tools that provide integration with version control systems, and various tools that simplify the construction of a graphical interface.

Purpose of WBS

So why do we need a development environment if there are discrete programs? In fact, this is the optimization of the programmer's work, because when using the ISR, the time needed to switch modes is reduced. However, there is also a negative side: due to the fact that the development environment is a complex software package, it will not speed up the work, and even slow it down if the programmer has not been previously trained.

Installation

All the necessary files are on the official Python website, so first you need to go to the portal and download them - the program is absolutely free. On the main page, select the Download menu. Here you can select any desired version of Python, up to the original one. If you know exactly what version is needed, find it in the list, if it does not matter, then download the latest version: at the moment it's 3.6.1. It is also possible to choose a version that is oriented to a specific operating system.

It is difficult to derive statistics on what OSes are used by programmers working on Python. Development environment for Linux, Mac OS, Ubuntu and Windows - everything is available on the "Downloads" page. Moreover, there is Python for specialized or old platforms, for example BeOS, MS-DOS and others.

After installing Python 3, you can begin to install the environment. You should open the IDLE file, it "lies" complete with the distribution, and follow the instructions.

Other options

When installing Python, the development environment is bundled, but the programmer can also use others, depending on their preferences in the interface or for some other purpose. The advantages of many other development environments are that they are cross-platform - that is, they can run on virtually any operating system, and you do not need to "jump" from one to another when switching to another device.

Quite popular is Eclipce (in addition to the PyDev plugin), which is often used not only for Python. The development environment is popular for Java and other languages, and after its mastering the programmer gets an almost universal application. However, there is also a downside to the medal: setting up the environment for any task is helped by plug-ins, and their countless number. Most often this fact becomes an object of criticism of this environment, besides it will be a problem to use Eclipce on a weak computer. To work on Python 3, you need to select the PyDev plug-in, which is distributed with Eclipce under a public license.

Two favorites

Also, many programmers choose to work Eric. This IDE consists of a number of programs that are relatively independent, that is, the user can choose which components to install and which ones to not. There is support for plug-ins that can be installed from the production environment.

Since Eric has a preview function for Qt forms, this environment is convenient for developing Qt shells for applications. The disadvantage is the extensive documentation, which is supplied in the PDF-file together with the distribution. It takes some time for the user to review the rules of the job.

If the above IDEs were free, then PyCharm is a commercial product, but it also has a so-called Community Edition, which can be used for free. It is in no way inferior to its counterparts, and offers the user a code analyzer and a large toolkit for various tests, as well as debugging tools. The free version of the application does not have any additional functions, which makes the area of its application smaller, but many users do not need such advanced features, so PyCharm is quite suitable for many tasks.

Another project

There is one more popular application for Python among programmers. The development environment is called Ninja IDE, distributed under the GPL license - that is, it is free. In its functionality a fairly powerful code editor and its locator, which allows you to quickly navigate in the project files and move from one to another. The distribution is compact, the application does not install anything superfluous, the graphical interface is also made in the style of minimalism, extends to Python. The development environment, however, is not suitable for everyone, since the functionality is not as wide as in the paid IDE.

Nevertheless, Ninja IDE has a high potential, programmers recommend it to those who have not yet decided on the tools. Even if the functionality of the application is insufficient, the user will be able to understand by her example exactly what is needed for the work, after which it will be easier to choose another IDE. This is the development environment for Python under Windows, Lunix and some other OS.

Flexible and paid

Wingware released an application for Python. The development environment was called Wing IDE. You can download the distribution on the official Wingware website, but in addition to it there is a lot of information on the portal not only for the product itself, but also for the programming language. One of the most important tools of any environment is the code editor, and in Wing IDE it is powerful. In addition to simple things like syntax highlighting, there is a folding code function that allows you to collapse individual sections that are not required at the moment. Parentheses are automatically highlighted.

The application includes a variety of keyboard shortcuts that repeat the same from other environments, such as Emacs. This ensures rapid adaptation. You can also configure hot keys manually.

Choosing a development environment is an important task. With the right choice, working with Python will become comfortable and convenient.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.