Category Archives: Python Programming

Few notes on Python Programming..

Tuples in Python

In this article, we will see what are Tuple and how we use them in Python programming. Tuples:   Tuples are one of the built-in types of sequences out of six and just like lists. There is another article published on how to use Lists in Python. We want to store the values for the rest of our […]
Read More »

Logical Operators in Python

In this article, we will see what is the logical operator and how we use them in Python programming. Logical Operators: There are basically three types of logical operators as below: And Or Not There above operators semantics or meaning is the same as their meaning in English.  To demonstrate we can take one simple […]
Read More »

Boolean in Python

In this article, we will see how to use Boolean in Python where it can be used to take any decisions if it is true or false, yes or no,  1 or 0. What is Boolean? It is just an integer that can have 1, 0,-1 or floats like 0.32, 3.32 etc. The output of the […]
Read More »

Using Break condition in Python

This article will show a step by step guide on how use Break in Python In many use cases, or due to certain business rules, we need to exit a loop in any programming language. Or, we need to stop a particular loop and continue with the rest of the code. This article will help […]
Read More »

Append row into a CSV file on SFTP

In this post I am going to show how we can append a row into CSV file using simple bash command. To demonstrate this I am using Linux virtual machine, the OS is on Mint 18.3 64bit.  First me create a sample file on my Linux Machine as like below. Once the file is created […]
Read More »

Reorder the columns in CSV file using Python

Many time we work on files to load or process the flat files. In this post, I am showing if we receive the file but the columns are not in order then how to rearrange them in the right format. There are multiple ways to handle this but here I am using a simple python […]
Read More »

For and While Loops in Python

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop. In python there are two types of loops:  While loop For loop When we want to run or execute a piece of […]
Read More »

The Server-Application Interface for Python

In 1993, the web was still in its infancy, with about 14 million users and a hundred websites. Pages were static but there was already a need to produce dynamic content, such as up-to-date news and data. Responding to this, Rob McCool and other contributors implemented the Common Gateway Interface (CGI) in the National Center […]
Read More »

A Python Implementation Comparison

Python is amazing. Surprisingly, that’s a fairly ambiguous statement. What do I mean by ‘Python’? Do I mean Python the abstractinterface? Do I mean CPython, the common Python implementation (and not to be confused with the similarly named Cython)? Or do I mean something else entirely? Maybe I’m obliquely referring to Jython, or IronPython, or […]
Read More »

Python Design Patterns

Let’s say it again: Python is a high-level programming language with dynamic typing and dynamic binding. I would describe it as a powerful, high-level dynamic language. Many developers are in love with Python because of its clear syntax, well structured modules and packages, and for its enormous flexibility and range of modern features. In Python, […]
Read More »