Category: Python

0

Enumerate() In Python

Python provides easy to use functions and mechanisms for programmers. While dealing with collection or list types we generally need some way to enumerate them. enumerate() function is used to create an iterable or enumerable type from given list or collection. After this operation we can use created object to iterate...

0

What Is Linux, Unix Socket?

Socket is a mechanism which provides connection between two process or system by using network stacks. In a more clear way we can use sockets communicate and transfer data between two system. As we know Unix and Linux systems works on file logic. Everything in operating system is file where network...

0

What is UUID (Universally Unique Identifier)?

While developing applications or using services or mounting disks in Linux systems we may see the term UUID or 128 bit number which might seem interesting. UUID is 128 bir number which is used to identify things like name, record, disk whatever we want. Uniqueness What makes UUID so special...

0

How To Install Python Pip For Linux?

Python provides tool named pip in order to install python modules. Most of the python applications uses pip in order to install dependencies. In order to use pip we should install it.  In this tutorial we will look how to install pip  for Python 2 and Python 3. Install For Python 2 On...

0

Python Timestamp Examples with Time Module

Timestamp is used to hold the seconds from epoch. Epost is a generic term used to represent data January 1st, 1970 in UTC. So this means epoch and timestamp do not have any time zone or by default UTC time zone. In this tutorial we will look different examples about...

0

How To Pretty Print and Format XML In Command Line Linux?

XML or extensible markup language is popular data structure used to express data in a exchangeable format. It is mostly used for configuration and data exchange between web services. While inspecting some XML in Linux via command line we generally need to print in a more readable and structured way....

2

How To Execute Shell Command with Python

Python provides a lot of modules for different operating system related operations. Running external command or shell command is very popular Python developers. We can call Linux or Windows commands from python code or script and use output. Import os Module We can use system() function inorder to run shell...

0

How To Create Reverse Proxy with Nginx?

Nginx is very popular web server software. It has some advantages over Apache. Some developers and system administrators use Nginx with Apache to get more from advantages. Nginx Reverse proxy is very popular because of the speed provided by Nginx with files and directories by using threads. In this tutorial...

Enjoy this blog? Please spread the word :)