create a password generator using Python

How to create a password generator using Python

In today’s digital world, security is one of the most important things. Since everything is going digital, we need to be highly concerned about security. To protect our accounts and data from anonymous people, we all use passwords daily. Password keeps our account safe by restricting other users from accessing the account. Although passwords are the most common types of security used in the digital world, they are not safe if we misuse them.

perform Google Search using Python

How to perform Google Search using Python

Google is the most popular search engine. It is widely used in almost every country for searching. To search for something in the Google Search engine, first, we need to open our favorite web browser. Then, we need to visit google.com and type the query we want to search. The result will appear in the browser after searching. But sometimes, we also have to access the Google search programmatically for automation or building an AI assistant.

Extracting date and time from a string

How to extract date and time from a string in Python

In this tutorial, we will learn how to extract dates and times from raw strings. Extracting helpful information like dates is very useful while parsing raw texts such as logs. You can also use an IDE for writing the code. Here, I am using the open-source VS Code IDE provided by Microsoft. VS Code is a cross-platform IDE. We can use it on any platform like Windows, Linux, or macOS.

Python substring

Python substring

The term “string” refers to a collection of Unicode characters. A string is a collection of characters that can include both alphanumeric and special characters. We will learn about substring in Python and how it works in this article:

Installing Python modules

How to install Python modules

One of the reasons that Python is so valuable is that there are several packages that we can install that extend the capabilities of Python. For example, if we want MATLAB-like functionality matrices numerical analysis, you can use numpy, optimizers, and differential equation solvers. Further, several other packages like matplotlib help us plotting, while Pygame helps develop a graphical user interface and build diverse games. xlwings, on the other hand, allows us to interface with excel. In addition, we have others like open CV, computer vision, etc.

Basic operations on Python strings

Basic operations on Python strings

Strings are one of the most important data types in any programming language. They are used for storing text like names of persons, places, etc. In Python, strings can be created by writing them under triple quotes, double quotes, or single quotes. Unlike C++, strings in Python can also be written under single quotes. Python also supports Multiline strings that can be written by enclosing text in triple quotes.