How to generate alphabets from mobile number using Python

Python Program Using the mobile keypad layout: 1 => 1,   2 => ABC, 3 => DEF, 4 => GHI, 5 => JKL,6 => MNO, 7 => PQRS, 8 => TUV, 9 => WXYZ, 0 =>  0+_ For a mobile number, generate the possible combinations of alphabets matching each digit of the number. I have written the program in Python. This program will generate all possible combinations of alphabets for the phone number given by the user. For Example:...

Read More

How to install and manage different versions of Python in Linux

Here is an interesting post on how to install / manage different versions of Python in a single linux / ubuntu machine! Pythonbrew is a magical tool. Which can also be called as Python version manager similar to that of RVM-Ruby version manager but Pythonbrew is inspired by Perlbrew. Pythonbrew is a program to automate the building and installation of Python in the users $HOME. Dependencies – curl Before Installing the...

Read More

How to install Virtualenv in Linux

Virtualenv: Virtual Python Environment builder Here I am explaining how to install virtualenv in Ubuntu. Virtualenv can be installed in two different ways Using Aptitude EasyInstall Aptitude: Copy and paste the following command in the Terminal. Type the password for the user, when prompted. sudo apt-get install python-virtualenv EasyInstall: Easy Install is a Python module and its a Python package manager which will let you download,...

Read More

How to install packages in Linux

Ways to install packages on Ubuntu: There are three way to install a software in Ubuntu Terminal Synaptic Package Manager Ubuntu Software Center Following are the guide line to install a VLC player in Ubuntu Terminal: Open a Terminal by using Ctrl+Alt+T or Applications->Accessories->Terminal. You need to have root access to install a software. There are two ways: 1) To install a software as normal user, use “sudo”...

Read More