Category: Python

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…

Continue Reading How to merge multiple PDF files using Python?
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…

Continue Reading What are the different Python List Methods?
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…

Continue Reading What are the Unix Specific Services in Python ?
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…

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

How to transfer file from SFTP server to Local using Python

There are situation you may need to programmatically transfer file from SFTP server to you local environment. Here we will…

Continue Reading How to transfer file from SFTP server to Local using Python

How to access hive using Python (Source code )

Use case : If you want to do some scheduling or some automation , we may need to access Hive…

Continue Reading How to access hive using Python (Source code )