Tagged: python2

0

“pip command not found” Error Solution Pip and Pip3 For Linux, Debian, Ubuntu, CentOS, Mint

Linux and Opensource world mainly uses package management software for installing, updating and removing software. Python is using pip or pip3 for Python package management. pip is Python2 package manager where pip3 is Python3 package manager. “pip command not found” Problem We will get an error like pip command not found when we try to...

0

How To Check Python Version?

Python is dynamic scriptin language which provides rich features. Python have two main version named Python version 2 and version 3. We can call them simply Python2 or Python3 . In this tutorial we will learn how yo check Python version or a script version. Default Python Version Every Python...

0

Hello World Python

We have talked about Python programming language previously. You can find them in Programming > Python section. Creating working environment for Python development and running our first python application is the first step to learning PYthon. In this tutorial we will look a Hello World python application about how can we create...

0

What is Python Programming?

Python is a programming language created at 1991 by Guide van Rossum. Python is influenced by C, C++, Haskell, Java, Lisp etc. There are different implementations like CPython, IronPython,Jython, PyPy. Most popular implementations is PyPy . Interpreted Python is an interpreted language which makes it practical for scripting of fast...

0

Python For Loop Tutorial with Examples

Python programming language provides loops with for statement. It is similar to the most of the main stream programming languages like C, C++, Java or C# . We will look to the for loop Python examples. for loop mainly used to iterate over specified list or array. For Loop Python Syntax...

0

Python Command Line Arguments with sys.argv

Python scripts can be run different ways. Python interpreter can be used to file python scripts but it is not so practical. Also scripts are not saved. After interpreter is closed or written code will be lost. Most popular usage to write and run python scripts is creating python script...

1

How To Sort Python Dictionary By Value?

We have a dictionary which is read from a file. One field is string other field is number. String fields are unique and used as keys. Sorting by keys is easy but how can we sort them by values Our Dictionary We have the following dictionary which is consist of...

0

How To Install Numpy For Linux?

Python is modern, interpreted language used various areas. One area of python is big data and graphics. Python has a lot of 3 party libraries to draw graphics. Today I needed graphics library named Numpy. Numpy can be installed from different sources. But using pip is one way to install...

0

How To Find Python Version?

I want to run some python scripts but want to learn version of the python installed on the system. How can I do that? This works almost all operating systems from Windows to Linux, from Mac OS to Bsd. Get Version Of Default Python Interpreter We can get default python...

Enjoy this blog? Please spread the word :)