Tag Python

Learn Python Programming from basic to advance

Range Function in Python

Range Function in Python

The range function in Python is a general function that can be used in a variety of ways. It is used with for loops to generate indexes, but you can use this function anywhere you need integers in a particular…

VS Code Extensions for Python

VS Code Extensions for Python

VS Code is one of the best code editors for every programming language. One of the reasons for its popularity is the support for extensions that give you a better coding experience. So if you are a Python programmer and…

Best Python GUI Libraries

Best Python GUI Libraries

A graphical user interface or GUI is a very important part of every application. Today, all websites, apps, and even smartphones give you almost the same performance you expect at a particular price point, but the only feature that sets…

Python Projects for Resume

Python Projects for Resume

Python is one of the most popular programming languages today. It is best to use by data scientists and web developers. Besides data scientists and web developers, many companies also require a Python developer. So if you are one of…

Best Python Courses

Best Python Courses

Python is one of the most popular programming languages. It is mostly preferred by data scientists, machine learning engineers, and web developers. Learning the basics of Python properly is very important because once you have learned the basics, you can…

Sunburst Plot using Python

Sunburst Plot using Python

Sunburst plot is an amazing visualization technique used to visualize hierarchical data. It extends radially outward from the root to the leaves to visualize hierarchical data. If you’ve never used sunburst charts before to visualize your dataset, this article is…

Best Websites to Learn Python

Best Websites to Learn Python

Python is one of the programming languages used today by big tech companies like Google. Python is primarily used by web developers, data analysts/data scientists, and machine learning engineers. There are many platforms on the internet that you can use…

Fundamentals of Python

Fundamentals of Python

Python is a versatile programming language loved by so many data scientists, web developers, and even software engineers. To master Python for any profession, the most important step is to master the fundamentals of the Python programming language. So if…

How Companies use Python?

How Companies use Python?

Python is one of the most popular programming languages today. As a student you might like Python more than other programming languages, but do you know how do companies use Python to solve their problems? If you don’t know how…

Resize Image using Python

Resize Image using Python

Resizing images is one of the most important tasks in image processing. Sometimes we have to resize the images while working with them. There are many libraries in Python that can be used for this task, so if you want…

Set up VS Code for Python

Set up VS Code for Python

Visual Studio Code is one of the best code editors you can use for almost any programming language and any professional project. Most people new to the Python programming language encounter issues while setting up the Visual Studio Code. So,…

Calendar GUI using Python

Calendar GUI using Python

A calendar is an application that helps organize days. You must have seen a calendar in your home, on your computer, and even on your smartphone. If you want to learn how to create a graphical user interface for a…

String Formatting in Python

String Formatting in Python

String formatting plays an important role when storing and transferring data in a way that anyone can easily understand. If you are new to the Python programming language and don’t know how to format strings to display the output, this…

Python Practice Questions

Python Practice Questions

When learning a programming language, it is very important to practice questions because the more questions you solve, the better you will improve in a programming language. So if you are learning Python and looking for some Python practice questions,…

Scrape IMDb using Python

Scrape IMDb using Python

IMDb is an online database that contains data about Movies, TV Shows, Streaming Shows, Video Games, Reviews, Ratings, and all other entertainment related data. Being an online database, it provides an API so that we can collect data from IMDb…

Advanced Python Projects

Advanced Python Projects with Source Code

When learning a programming language, it is very important to learn all the fundamentals of that language and then try to work on advanced projects. So if you are done with the basics of the Python programming language and are…

Resume Scanner using Python

Resume Scanner using Python

A resume scanner is an application that scans all the keywords on a resume to match the skills and qualifications needed for a particular job. If you want to learn how to scan a resume using the Python programming language,…

Read Images using Python

Read Images using Python

Python is a very popular programming language among the data science community because it has many libraries and frameworks for working on different types of data. Sometimes we need to use machine learning algorithms on images rather than a textual…

Types of Errors in Python

Types of Errors in Python

If your Python code displays an error message instead of showing you the results you want, it means there are errors or bugs in your code. These messages can be difficult to understand, but they tell you exactly the types…

Bias and Variance using Python

Bias and Variance using Python

When training a machine learning model, it is very important to understand the bias and variance of predictions of your model. It helps in analyzing prediction errors which help us in training more accurate machine learning models. In this article,…

Treemap using Python

Treemap using Python

A treemap is used to visualize hierarchical data as a set of nested rectangles. It is a data visualization tool for displaying data structured in a tree structure using nested rectangles. In this article, I’ll walk you through how to…

Deep Learning Frameworks in Python

Deep Learning Frameworks in Python

The use of deep neural architectures instead of the classic machine learning algorithms to train bigger models that can mimic the human brain while solving complex problems that involve heavy computing is known as deep learning. In this article, I…

Colour Pandas DataFrame in Python

Colour Pandas DataFrame in Python

We can use the style functions built into the pandas library in Python to colour a DataFrame. It helps you easily understand different types of values without even visualizing them. In this article, I’ll walk you through how to colour…

While Loops in Python

While Loops in Python

While Loops provides a way to code general loops in any programming language. A while loop is typically used to repeatedly execute a block of code until the given condition becomes False. In this article, I will present a tutorial…

Swap Variables using Python

Swap Variables using Python

Swapping variables means assigning the value of variable a to variable b and vice versa. We have so many algorithms in computer science for swapping the values of two variables with each other, so in this article, I’m going to…

Quartile Deviation using Python

Quartile Deviation using Python

Quartile deviation means the absolute measure of dispersion. It is the product of half the difference between the upper and lower quartiles (Quartile Deviation = (Q3 – Q1)/2). In this article, I will take you through how to calculate quartile…

All Modules in Python

All Modules in Python

The Python standard library contains over 200 modules. Being an open-source programming language everyone can contribute to Python by creating more packages, libraries and modules. But some modules comes preinstalled with Python which collectively is known as the Python standard…

Python GUI Examples

Python GUI Examples

A graphical user interface (GUI) helps to interact with an application by providing a better user experience. You can think of a GUI as the interface of a website that helps you interact easily. To build your own GUI application…

Pyramid Pattern using Python

Pyramid Pattern using Python

Creating patterns by using a programming language is not less than designing an algorithm for a beginner. One of the easiest patterns that you can create is a pyramid that looks like a triangle. So to get your hands on…

Python Libraries for Data Science

Python Libraries for Data Science

Python is such a popular programming language among data scientists because of its beginner-friendly syntax and the support of libraries that we get for all data science tasks. So there are some of the Python libraries you need to learn…

Google Search Analysis with Python

Google Search Analysis with Python

Approximately 3.5 billion searches are performed on Google daily, which means that approximately 40,000 searches are performed every second on Google. So Google search is a great use case for analyzing data based on search queries. With that in mind,…

Rename Columns using Python

Rename Columns using Python

When working on a data science task, sometimes the dataset you are using has features with very complex names, so to keep things simple we can rename the columns with complex names. So in this article, I will walk you…

Merge Sort using Python

Merge Sort using Python

To sort an array we need to arrange the elements of the array by comparing each element efficiently. The merge sort algorithm uses the divide and conquer approach to sort an array by making the least number of comparisons between…

Countryinfo in Python (Tutorial)

Countryinfo in Python (Tutorial)

Countryinfo is a Python module that helps to extract information about any country about the properties of that country, including ISO information, states, languages spoken, currencies, and various other information. In this article, I will introduce you to a tutorial…

NLTK Tutorial using Python

NLTK Tutorial using Python

The NLTK library in Python is one of the best Python libraries for any natural language processing task. It provides so many useful functions for word processing including tokenization, stemming, tagging, parsing and many other tasks that we need to…

Tqdm in Python (Tutorial)

Tqdm in Python (Tutorial)

The Tqdm library in Python is used to add progress bars that show the processing behind the execution of the program. In this article, I will walk you through a tutorial on Tqdm in Python to display the progress bars…

Language Detection with Python

Language Detection with Python

The task of language detection comes into use when you are working on a very large dataset that contains data in different languages. Suppose you want to create an even driven program where the final output depends on the language…

Pypolars in Python (Tutorial)

Pypolars in Python (Tutorial)

Pypolars is an alternative to the Pandas library in Python which is used for working with data while working on a data science task. We use Pandas from reading a dataset to preparing the dataset for a machine learning model.…

Remove Stop Words using Python

Remove Stop Words using Python

Stop Words removal is an important step while working on any application of natural language processing. Stop Words are words that carry very little or no significant semantic context in a piece of text which is why such words need…

Career Opportunities with Python

Career Opportunities with Python

The ease of writing code in Python makes it one of the most popular programming languages. It has been accepted by industries around the world for many tasks, making it a very promising programming language for more career opportunities. So,…

Pyforest in Python (Tutorial)

Pyforest in Python (Tutorial)

Python is one of the most favourite programming languages in the coding community because of its readability and the support of libraries. Being an open-source programming language Python has more than 235000 libraries and packages. We generally need to import…

Chatbot using Python

Chatbot using Python

A Chatbot is an application that interacts with users like a human. Chatbots are typically used to resolve the most common queries that a business receives from its customers daily. In this article, I’ll walk you through how to create…

Find Maximum Profit using Python

Find Maximum Profit using Python

Finding the maximum profit while buying and selling stocks in the stock market is a great question for coding interviews at companies based on financial services. Here you are given an array of stock prices and transaction fees and what…

Amazon Recommendation System using Python

Amazon Recommendation System using Python

Recommendation Systems are one of the widely used applications of Data Science in most companies based on products and online services. Amazon is a great example of such companies. Being an online shopping website Amazon needs to generate personalised recommendations…

Create Tables using Python

Create Tables using Python

Python is a very easy and versatile programming language. It offers libraries and modules for almost every task that you can think about. While working with data using python sometimes it becomes difficult to present it in a tabular format…

Grammar Correction using Python

Grammar Correction using Python

Using correct grammar is very important in any language. The role that syntax plays in a programming language is what grammar plays in any language. In this article, I will walk you through the grammar correction task using Python. How…

Best IDE for Python

Best IDE for Python

Most people new to Python often don’t know which IDE or code editor to use for coding. There are so many IDE and code editors available today that give you so much more functionality than just running your programs. So,…

Validate Anagrams using Python

Validate Anagrams using Python

An Anagram is a word or phrase that forms a different word or phrase when the letters of a word are rearranged. For example, the words “despair” and “praised” are anagrams. In this article, I’ll walk you through how to…

Hash Tables using Python

Hash Tables using Python

Hash tables are like dictionaries in Python, they are data structures that are used to store and retrieve a large amount of data in the format of keys and values. In this article, I will introduce you to the concept…

Python Libraries for Web Scraping

Python Libraries for Web Scraping

Web scraping means extracting data from the Internet through which we can instantly access data from any publicly accessible web page. There are so many Python libraries that automate the web scraping process. In this article, I’ll introduce you to…

Queues using Python

Queues using Python

A queue is a data structure where we insert items from the back and remove items from the front. It follows the principle of First In, First Out data structures. In this article, I’ll walk you through the implementation of…

Stacks using Python

Stacks using Python

Stacks are abstract data types that are commonly used in almost all programming languages. A stack is a data structure that simulates real-world stacks such as a deck of cards, a stack of plates, etc. In this article, I will…

Plotting Annotations using Python

Plotting Annotations using Python

Plotting annotations while viewing graphs is considered a good practice because it makes your graphs self-explanatory. Sometimes it can be difficult to understand which data points indicate which characteristic especially in a scatter plot. In this article, I will introduce…

Format Dates using Python

Format Dates using Python

Formatting dates is one of the topics that every newbie faces when working with Python. When working with time-series data, formatting data and time is one of the most important topics for you. In this article, I’ll walk you through…

Palindrome Words using Python

Palindrome Words using Python

Palindrome words are those words that are read the same way from left to right as from right to left. Writing an algorithm to check whether a word is a palindrome or not is an important question in coding interviews.…

Defang IP Address using Python

Defang IP Address using Python

A user’s IP address is defanged to prevent the user from clicking on a malicious link. The problem with Defanginig IP addresses is one of the common coding interview questions for someone who is planning data science. In this article,…

Pie Charts using Python

Pie Charts using Python

A pie chart is created by dividing a circle into two or more sections depending on the number of entities we want to visualize. It is used to analyze the proportion of each entity among all the entities. In this…

FizzBuzz Algorithm using C++ and Python

FizzBuzz Algorithm using C++ and Python

The FizzBuzz algorithm is one of the favourite questions in coding interviews. Fizz and Buzz refer to any number that is a multiple of 3 and 5. In this article, I will walk you through how to implement the FizzBuzz…

Extract Keywords using Python

Extract Keywords using Python

Keywords play an important role when reading a long text to understand the subject and context of the text. Search engines also analyze an article’s keywords before indexing it. In this article, I will walk you through how to extract…

Automatic EDA using Python

Automatic EDA using Python

By using Python libraries we save a lot of time, which is why Python is such a popular programming language for data science and machine learning. In this article, I’m going to introduce you to a tutorial on Automatic EDA…

Caterpillar Game with Python

Caterpillar Game with Python

You must have played the caterpillar game on your cell phones when we are not introduced with smartphones. It’s a game about the hungry caterpillar that grows after every meal. In this article, I’ll walk you through how to create…

Functional Programming in Python

Functional Programming in Python

Functional programming means handling a large chunk of code by defining your own functions. It means comparing a problem to a set of functions. In this article, I’ll walk you through what functional programming in Python is. What is Functional…

Quicksort using Python

Quicksort using Python

Quicksort is a sorting algorithm that selects an item and rearranges the array forming two partitions so that all items below the item come before and all items above come after. The algorithm is then used recursively to the parts…

Encrypt and Decrypt using Python

Encrypt and Decrypt using Python

Cryptography means changing the text of a message so that people who don’t know your secret never understand your message. In this article, I will create a GUI application to encrypt and decrypt using Python. How to Encrypt and Decrypt…

Screen Pet with Python

Screen Pet with Python

Have you ever thought about how to make apps like the talking cat and other types of screen pets? Guess what, with the help of Python we can create our screen pets that can change their emotions with every click.…

Build a Robot with Python

Build a Robot with Python

Creating graphics using the Python programming language is a very simple task. The turtle module in Python provides so many features that we can even build a robot using it. In this article, I will walk you through how to…

Lives Game with Python

Lives Game with Python

In this article, I’ll walk you through how to make a Lives game with Python. In this game, you have to guess the secret word letter by letter. If you guessed a letter incorrectly, you will lose a life. As…

What are Modules in Python?

What are Modules in Python?

In the Python programming language, modules are sets of code that can be used to solve some very common coding problems. The use of modules in Python is that they provide fewer bits of code so that you can focus…

Word Cloud with Python Tutorial

Word Cloud with Python Tutorial

Word clouds are one of the most common methods of representing the textual dataset in a graphical format. A word cloud can also be used for sentiment analysis by analyzing text. In this article, I’ll walk you through a tutorial…

Why Python is So Popular?

Why Python is So Popular?

Python is a popular text-based programming language. In Python, we write code by using words, abbreviations, numbers, and symbols. In this article, I’ll take you through why Python is such a popular programming language. Introduction to Python Python is one…

Bitcoin Mining with Python

Bitcoin Mining with Python

Bitcoin Mining is very much related to auditing. It means verifying the legitimacy of Bitcoin transactions. In this article, I will explain to you how to do Bitcoin Mining with Python. What is Bitcoin Mining? Bitcoin mining is part of…

Password Picker with Python

Password Picker with Python

A password prevents others from accessing our system’s e-mails and other login information. In this article, I’ll walk you through how to create a password picker with Python to create safe and easy-to-remember passwords that will help your information to…

Hangman Game with Python

Hangman Game with Python

The Hangman game is very much like the popular number guessing game among programmers. In this article, I will take you through how to create a Hangman Game with Python. Understanding the Hangman Game In the hangman game, one player…

URL Shortener with Python

URL Shortener with Python

You must have seen services on the internet to create short URLs from long ones used in various places. Short URLs are easy to remember or type, so they are very popular in the field of digital marketing and promotions.…

Mad Libs Game with Python

Mad Libs Game with Python

MAD LIBS is one of the funniest word games in the world. Some would even call it one of the greatest puns ever. In this article, I’ll walk you through a simple task for beginners: Create a Simple Mad Libs…

Story Generator with Python

Story Generator with Python

Do you think the most complex use of the random module in Python is random sampling? No, we can also generate random stories or anything beyond that using the random module. In this article, I’ll walk you through how to…

Digital Clock with Python

Digital Clock with Python

The great part of creating your own GUI apps is that you can customize them however you want. From text font to background colour, all features are available for customization. In this article, I will take you through how to…

How To Become a Python Developer

How To Become a Python Developer?

With the increase in the use of technologies such as artificial intelligence, machine learning, and data science, the need for Python developers has grown exponentially. In this article, I’ll walk you through how to become a Python developer. Over the…

Python Interview Questions on Strings

Python Interview Questions on Strings

Python strings an ordered collection of characters used to store and represent information based on text and bytes. In this article, I’ll introduce you to some important Python interview questions on strings. What are Strings? Why are they used? Functionally,…

How To Fix Bugs in Python?

How To Fix Bugs in Python

If something is wrong with your code, Python will try to help you by displaying an error message. These error messages are just bugs in your code. In this article, I’ll walk you through how to fix bugs in Python.…

Numeric Data Types in Python

Numeric Data Types in Python

Most of the numeric types in Python are pretty typical and will probably sound familiar if you’ve used almost any other programming language in the past. In this article, I will introduce you to all the numeric data types in…

Python Classes Tutorial

Python Classes Tutorial

In the Python programming language, the user-defined classes define new types of objects that extend the base set. In this article, I’ll walk you through a tutorial on Python classes. Introduction to Classes in Python Python supports both procedural and…

Computer Vision Tutorial with Python

Computer Vision Tutorial with Python

Computer vision is all about the applications and algorithms to build intelligent systems to obtain information from images. In this article, I will introduce you to computer vision tutorial with Python. What is Computer Vision? Today, the use of images…

Python Tuples Tutorial

Python Tuples Tutorial

The tuple object (pronounced like toople or tuhple depending on who you’re asking for) is pretty much like a list that can’t be edited. In this article, I will present a tutorial on Python tuples. Python Tuples Python tuples are…

Stack with Python

Stack with Python

The stack is a type of restricted container that stores a linear collection. Stacks are very common in computer science and are used in many types of problems related to data structures and algorithms. In this article, I’ll walk you…

Text Summarization with Python

Text Summarization with Python

Text Summarization is the process of creating a summary of a certain document which contains the most important information of the original, the purpose of which is to obtain a summary of the main points of the document. In this…

Python Dictionaries Tutorial

Python Dictionaries Tutorial

Python dictionaries are something completely different, they are not sequences at all, but are rather known as mappings. In this article, I will introduce you to a tutorial on Python dictionaries. Python Dictionaries Mappings are collections of other objects, but…

Python Lists Tutorial

Python Lists Tutorial

The list datatype is the most general sequence provided by the Python programming language. In this article, I’ll walk you through a tutorial on Python lists. Python Lists Lists are collections ordered by the position of arbitrarily typed objects and…

Examples of Loops with Python

Examples of Loops with Python

There are many occasions when we need to execute one or more statements multiple times until a condition is met. In programming, running a condition multiple times is done using loops. In this article, I’ll show you some examples of…

Functions in Python Examples

Functions in Python Examples

Python allows users to define their functions which can be used just like any other built-in or library function. In this article, I’ll show you some examples of functions in Python. What are the Functions in Python? There are two…

Pandas DataFrame with Python

Pandas DataFrame with Python

In Data Science, the most used data structures are the Series and the DataFrame which deal with arrays and tabular data respectively. In this article, I will walk you through a tutorial on pandas DataFrame with Python. What is a…

Classes Examples with Python

Classes Examples with Python

In Python, a class is an outline that describes the data stored in an object and defines the operations that can be performed on the object. In this article, I’ll show you some examples of classes with Python. What are…

If Else Examples with Python

If Else Examples with Python

If Else statements are used as a form of conditional programming which is something that you probably do every day in the real world. In this article, I’ll show you some examples of If-Else with Python programming language. Introduction to…

List Comprehensions in Python

List Comprehensions in Python

List Comprehensions in Python are concise syntactic constructs. They can be used to generate lists from other lists by applying functions to each item in the list. In this article, I will introduce you to the concept of list comprehensions…

Weight Converter GUI with Python

Weight Converter GUI with Python

Weight conversion means to multiply the value of a unit with the standard conversion value. In this article, I will take you through how to create a weight converter GUI with Python programming language. The standard weight conversion values include:…

GeoPandas in Python

GeoPandas in Python

GeoPandas is an Open Source Python package that offers the best combination of spatial data analysis and mapping functions in Python. In this article, I will introduce you to the concept of GeoPandas in Python programming language. Introduction to GeoPandas…

Graph Algorithms with Python

Graph Algorithms with Python

In this article, I will take you through the implementation of Graph Algorithms with Python. As a data scientist, you should be well aware to find relationships among people by using the network they create within each other. So here…

Python 3.9 Updates

Python 3.9 Updates

On October 5, 2020, Python released a new version of Python, 3.9.0rc2. In this article, I will introduce you to the updates to Python in Python 3.9. Here you will get all the important information about the highlights of the…

Card Game with Python

Card Game with Python

In this article, I’ll walk you through how to make a card game with Python. In this card game, each player draws a card from the deck and the player with the highest card wins. I’m going to build this…

Autocorrect with Python

Autocorrect with Python

Have you ever thought about how the autocorrect features works in the keyboard of a smartphone? Almost every smartphone brand irrespective of its price provides an autocorrect feature in their keyboards today. So let’s understand how the autocorrect features works.…

Python Course

Python Course

Python is a modern interpreted programming language that can be used to build programs using a procedural or object-oriented paradigm. It provides many built-in features and has simple and easy to learn syntax. In this article, I’ll introduce you to…

Quiz Game with Python

Quiz Game with Python

In this article, I will take you through how we can create a quiz game with Python. If you are a beginner in Python then this is an ideal task for you because while building this quiz game you will…

Web Scraper with Python

Web Scraper with Python

In this article, I’m going to create a web scraper with Python that pulls all the stories from Google News by extracting all the tags from the HTML of Google News. Google News uses tags to create links to the…

GitHub for Python

GitHub for Python Programmers

Github is a very popular version control system. Typically, you use a version control system in conjunction with a service that stores your software in the cloud. In this article, I’ll walk you through how to use Github as a…

Python Coding Interview Tips

Python Coding Interview

The coding interview is a daunting experience. Imagine that you are interviewed for the job of your dreams, you are completely analyzed. Every statement you make and every code you write is noticed intensely. In this article, I’ll walk you…

Data Structures and Algorithms with Python

Data Structures and Algorithms with Python

The main difference between bad programmers and good programmers is whether they consider their code or their data structures and algorithms to be more important. Bad programmers worry about code. Good programmers care about data structures and algorithms.  In this…

Decorators in Python

Decorators in Python

In Python, Decorators are models of software design. They dynamically modify the functionality of a function, method, or class without having to directly use subclasses or modify the source code of the decorated function. If used correctly, then these functions…