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 ? #…

Continue Reading Most commonly used list operations in 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