badbusiness.blogg.se

Centos install python
Centos install python




centos install python

To start, let's make sure our CentOS install is fully updated and get some building utilities installed.

centos install python

With Python frameworks and libraries, this task is actually really easy to accomplish.īefore setting up our Python environments, we need a sane environment. Setting up a Python environment is really pretty simple. Currently, CentOS 7.X relies on a semi-current revision of version 2.X.Īs of this writing, the most current versions of Python are − 3.4.6 and 2.7.13.ĭon't let this confuse or draw any conclusions of Python. This required some core functionality of version 3.X to be redone in ways it could not support some version 2.X scripts.īasically, the best way to overcome this transition is − Develop for 3.X and keep up with the latest 2.X version for legacy scripts. The reason for the two active versions of Python was basically fixing the shortcomings of version 2.X. Because of this, it is important to isolate our development Python environment from CentOS' core Python environment.įor starters, there are currently two versions of Python − Python 2.X and Python 3.X.īoth stages are still in active production, though version 2.X is quickly closing in on depreciation (and has been for a few years).

centos install python

Python scripts are actually used at the core of CentOS for functions vital to the functionality of the operating system. Also, its standard libraries have caused problems in transitioning from versions 2.X to 3.X. At times, its core foundations of "easily readable" and "doing things the right way" can cause unnecessary complexities when writing a simple code. In history, Python was originally designed to teach programming. The biggest drawbacks of Python are sometimes related to its strengths. Though Perl still has its place amongst the toolbox of a Linux admin, learning Python is a great choice as a skill set. Python can do anything Perl can do, and in a lot of cases in a better manner. Many professional frameworks for everything from GUI support to web-development Readability of the code is thought out in language definition

centos install python

Libraries that are standard to the language Some strengths of Python versus Perl are − Where Perl was once the industry standard, Python has surpassed Perl in many respects. Python is a widely used interpreted language that has brought professionalism to the world of coding scripted applications on Linux (and other operating systems).






Centos install python