python

QR code Python

Introduction A QR code is a barcode that can be read by a digital device such as a smartphone. QR codes are used to keep track of information such as websites or social profiles.If you are wondering if it is possible to generate a QR code using Python, the answer is yes and it is …

QR code Python Read More »

Python beautifulsoup

Introduction Beautifulsoup is a Python package that allows you to easily parse and extract data from HTML and XML files.With a few simple instructions it is possible to convert the analyzed file into a structure formed by Tags. Basically, every HTML or XML tag corresponds to a beautifulsoup Tag. The next sections will show you …

Python beautifulsoup Read More »

Python schedule

Introduction If you are wondering how to schedule a task in python, you should definitely consider using the Python package schedule.Schedule is a Python package that offers a set of easy-to-use APIs for scheduling tasks (functions). It is lightweight and requires no other external dependencies. The next sections will show you how to install this …

Python schedule Read More »

Python min()

Introduction Python provides the min() function to find the minimum (or smallest) element among a group of values.This function is built-in and you can find it in the official documentation. The Python min() function can be used with all iterators, therefore with lists, tuples and dictionaries. In the next sections we will see in detail …

Python min() Read More »

Python max()

Introduction Python provides the max() function to find the maximum (or largest) element among a group of values.This function is built-in and you can find additional information reading the official Python documentation. In the next sections we will see in detail how to use the max() function with examples. Are you curious to find out …

Python max() Read More »

Python CSV

Introduction This post will help you configure your environment to write a Python program whose purpose is to read or write a CSV file. In your life as a developer, you will surely have to write or read a CSV file.A comma-separated values (CSV) file is a simple text file that uses commas to separate …

Python CSV Read More »

Python if else statement

Introduction The if – else statement is a fundamental construct in Python and in all other programming languages.Using them is it possible to execute a code only under specific conditions. This post presents the simple if, but also the if else, and if elif else.Last but not least we will see also the nested if …

Python if else statement Read More »