Posts by Yashkumar Patel

Author Biographical Info: My objective is to be a part of an organization where I can grow in terms of knowledge, skills, and attitude and put my best effort to learn the new trends and adopt the new environment. And if given a chance to work with you I assure you of my level best work. I am a fresher who is willing to give total support to the organization that I work for with the experience and capability that I have

Delete files older than N days in Python

By Yashkumar Patel

Nowadays, we create many files of many types and at the end up creating many useful as well as unnecessary files in our computer system. However, it will not create many difficulti.... Read More

How to access elements of a nested dictionary in Python

By Yashkumar Patel

In this tutorial, you will learn how to form a dictionary and access elements of a nested dictionary to change it according to the need of the user. In Python, how can we access el.... Read More

Take user input and save those in .txt file using Python

By Yashkumar Patel

In this tutorial, we will learn how can we take input from users and save these inputs into a .txt file. These types of things are useful for developers as they need to store the d.... Read More

How to set an input time limit in Python

By Yashkumar Patel

In this tutorial, we will learn how to set input time limit in Python. The user will get a specific time limit to enter the input. Nowadays, developers need such type of mechanism .... Read More

What is the difference between input() and raw_input() in Python

By Yashkumar Patel

Nowadays, Developers get some data from the user for multiple reasons. however, there are basically two ways to get data from the user. raw_input() input() These are the inbuilt fu.... Read More

How to convert a positive number into a Negative in Python

By Yashkumar Patel

In this tutorial, I will teach you to convert positive numbers into negatives in Python. There are basically four ways to implement this thing. However, I will show the method whic.... Read More

How to create dynamic variable name in Python

By Yashkumar Patel

A dynamic variable name, sometimes called a variable, is a variable with a name that is the estimation of another variable. Despite the fact that Python is a very dynamic language .... Read More

Show each key-value of a dictionary print on a new line in Python

By Yashkumar Patel

In this tutorial, we’ll look at a few alternative techniques to print the contents of a dictionary in Python line by line. In Python, output each key-value pair from a dictio.... Read More