Tag: Python

python @ Freshers.in

Most commonly used list operations in Python

Here we will describe the commonly used list operations in Python # How to create an empty list ? #…

python @ Freshers.in

How to merge multiple PDF files using Python?

Use case : If you have multiple files for example chapter wise question papers etc. and you need to have…

Apache Airflow

How to create a Airflow DAG(Scheduler) to execute a redshift query ?

Use case : We have a redshift query (an insert sql ) to load data from another table on daily…

python @ Freshers.in

What are the different Python List Methods?

In Python Lists are used to store multiple items in a single variable. There are multiple built-in methods that you can use…

python @ Freshers.in

What are the Unix Specific Services in Python ?

The following are the unix specific services in Python posix : The most common POSIX system calls (This module provides…

python @ Freshers.in

Python throwing as NameError: name ‘__file__’ is not defined – Solution

On Executing  os.path.dirname(os.path.realpath(__file__)) in python interactive shell, you will get the error NameError: name ‘__file__’ is not defined. This is…

How to convert xls to csv ? I can see first header column got shifted to next column- Solved

The requirement is to convert and xls to csv using python. Initially we used pandas ,  pandas.read_excel to read an…

Python-How to extract multiple words between two strings-(Extracting word between {})

Here we will see how to extract string between two specific character/string. This is a use case when you want…