How to 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.

How to 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.

How to extract date and time from a string in Python

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.

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.

How to upload and download files using Flask

How to upload and download files using Flask

Flask is one of the most popular frameworks for backend development. It is a microframework based on the python programming language. Instead, a micro-framework Flask is very powerful and is highly extensible. Since Python is popular for Machine Learning and Data Science, Flask is hugely used to serve Machine Learning and Data Science related apps. In this tutorial, we will learn how to create a file uploader and file downloader using Flask.

How to perform basic operations in Python lists

How to perform basic operations in Python lists

In this tutorial, we will learn to perform some basic operations on python lists such as sorting, calculating the length of a list, etc. To follow this tutorial, python should be installed on your computer so you can try each of the codes by writing it on your own. It is also recommended to use an IDE(Integrated Development Environment) such as the open-source Visual Studio Code for writing programs fast and efficiently. Now, let us start our tutorial with the introduction of python lists.

How to get weather report using Python and OpenWeatherMap API

How to get weather report using Python and OpenWeatherMap API

Python is a very popular language that can be used to perform a wide variety of tasks. We can use python to perform operations like Machine Learning, Data Science, web applications, Mobile applications, Automation, etc., very easily. In this tutorial, we will use python to access weather data from an API for a specific area.

How to find the second largest value of a Python List

How to find the second largest value of a Python List

Python list is one of the most useful data structures of Python. It is very similar to the arrays in Javascript and C++. However, like the multidimensional arrays, we can also create multidimensional lists known as nested lists. In this tutorial, we discussed four amazing methods for finding the second largest number of a python list.

How to add data to a list in Python

How to add data to a list in Python

Python lists are one of the most common and popular data structure of python. Almost every python programmer uses them for writing great programs in python. Python lists are almost similar to the vectors in C++ or arrays in Javascript. Lists are mutable, which makes them editable after creation. Lists can contain elements like numbers, strings, dictionaries, tuple, boolean, lists, and any other python object.