
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10476 Articles for Python

577 Views
Python distribution is available for a wide variety of platforms. You need to download only the binary code applicable for your platform and install Python.If the binary code for your platform is not available, you need a C compiler to compile the source code manually. Compiling the source code offers more flexibility in terms of choice of features that you require in your installation.Recent Macs come with Python installed, but it may be several years out of date. Seehttp://www.python.org/download/mac/ for instructions on getting the current version along with extra tools to support development on the Mac. For older Mac OS's ... Read More

606 Views
Python distribution is available for a wide variety of platforms. You need to download only the binary code applicable for your platform and install Python.If the binary code for your platform is not available, you need a C compiler to compile the source code manually. Compiling the source code offers more flexibility in terms of choice of features that you require in your installation.Here are the simple steps to install Python on Unix/Linux machine.Open a Web browser and go to https://www.python.org/downloads/Follow the link to download zipped source code available for Unix/Linux.Download and extract files.Editing the Modules/Setup file if you want to customize ... Read More

294 Views
Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.Python is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning Python −Python is Interpreted − Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL ... Read More

2K+ Views
Python is a totally free language to download, use, and code. Its commands are mostly in simple English. This makes it easy to remember and write commands. The code is readable and with a little knowledge, a developer can learn many things just by looking at the code.It has standard libraries that offer a lot of functionalities which lets you implement complex applications with ease. Python was designed with the newbies in mind. The use of white space and common expressions has eliminated the need for tedious variable declarations and ugly braces.Your First Steps in ProgrammingPython can be your starting ... Read More

293 Views
To install speed test CLI command line, it should require Python ppi. Use the following command to install Python ppi .$ sudo apt-get install python-pipThe sample output should be like this –Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libbs2b0 libopusfile0 libqmmp-misc libqmmpui0 libsidplayfp linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic linux-signed-image-4.2.0-27-generic php7.0-opcache Use 'apt-get autoremove' to remove them. The following extra packages will be installed: python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl python-requests-whl python-setuptools python-setuptools-whl python-six-whl python-urllib3-whl python-wheel Suggested packages: python-genshi Recommended packages: ... Read More

384 Views
Cheat is a command line primarily based on Python software that lets in system administrators to view and save helpful cheat sheets. It retrieves simple-text examples of a delegated command which will remind the user of alternatives, arguments, or commonplace makes use of. Cheat is used for “commands which you use frequently, however now not frequently sufficient to consider”Installing CheatBefore installing Cheat, we need to make sure that everything’s up to date on the system as shown in the below command –$ sudo apt-get update && sudo apt-get upgradeInstalling Cheat is best done with the Python package manager Pip. To ... Read More

202 Views
The Pleasant Interactive Shell which is called and abbreviated as FISH is a shell for UNIX and UNIX-like operating systems. It is a unique and innovative command line environment with a number of priceless improvements. Fish is designed to work with any other shell like bash or ZSH. Unlike different shells which disables more than a few elements with the aid of default to save process resource, FISH maintains all of them enabled by means of default in an effort to make most out of it.FeaturesIt is a User-friendly and interactive shellIt has so many powerful featuresInbuilt Web-based configurationIt supported ... Read More

2K+ Views
Suppose we have a list of numbers. We have to count the numbers that has even number of digit count. So if the array is like [12, 345, 2, 6, 7896], the output will be 2, as 12 and 7896 has even number of digitsTo solve this, we will follow these steps −Take the list and convert each integer into stringif the length of string is even, then increase count and finally return the count valueExampleLet us see the following implementation to get better understanding − Live Democlass Solution(object): def findNumbers(self, nums): str_num = map(str, nums) ... Read More

864 Views
Suppose we have an array, and we need to check whether each element has a unique number of occurrences. If no such element exists, we return false; otherwise, we return true. For example, given the array [1, 1, 2, 2, 2, 3, 4, 4, 4, 4], the function will return true because no two elements have the same number of occurrences: 1 occurs twice, 2 occurs three times, 3 occurs once, and 4 occurs four times. Various Techniques to Find Unique Occurrences Following are the various techniques to find the unique occurrence of the elements in a list − ... Read More

350 Views
Rainbow Stream is a free and open source Twitter-consumer for Linux command-line, released under MIT License. It is competent of showing Rea ltime tweet stream, compose a tweet, search, favorite, etc.It is written in Python and built on high of Twitter API and Python Twitter Tool. To run this application in your console you must have installed python and pip version 2.7.x or 3.x.FeaturesIt is a free and open source twitter-client for Linux command-line.It is capable of rendering twitter image in Terminal.It supports Proxy.It supports interactive mode.Theme customization is implemented.It has the capability of showing real-time twitter stream.You can tweet, ... Read More