Python

Python struct pack, unpack — step-by-step Python tutorial on Progressive Robot

Python struct pack, unpack

URL: https://www.progressiverobot.com/python-struct-pack-unpack/ Python struct [module](/community/tutorials/python-modules) is capable of performing the conversions between the Python values and C structs, which are represented as [Python Strings](/community/tutorials/python-string). Python Struct Python struct module can be used in handling binary data stored in files, database or from network connections etc. It uses format Strings as compact descriptions of the layout […]

Read more
How to calculate BLEU Score in Python? — step-by-step Python tutorial on Progressive Robot

How to calculate BLEU Score in Python?

Bleu score in Python is a metric that measures the goodness of Machine Translation models. Though originally it was designed for only translation models, now it is used for other [natural language processing applications](/community/tutorials/natural-language-processing-tasks) as well. The BLEU score compares a sentence against one or more reference sentences and tells how well does the candidate […]

Read more
How To Use Many-to-Many Database Relationships with Flask and SQLite — step-by-step Databases tutorial on Progressive Robot

How To Use Many-to-Many Database Relationships with Flask and SQLite

In this tutorial, you’ll modify an application built using Flask and SQLite by adding a Many-to-Many relationship to it. A many-to-many database relationship is a relationship between two tables where a record in each table can reference several records in the other table. For example, in a blog, a table for posts can have a many-to-many relationship with a table for storing authors.

Read more
Python Pandas Module Tutorial — step-by-step Python tutorial on Progressive Robot

Python Pandas Module Tutorial

URL: https://www.progressiverobot.com/python-pandas-module-tutorial/ Python Pandas Module Pandas is an open source library in Python. It provides ready to use high-performance data structures and data analysis tools. Pandas module runs on top of [NumPy](/community/tutorials/python-numpy-tutorial) and it is popularly used for data science and data analytics. NumPy is a low-level data structure that supports multi-dimensional arrays and a […]

Read more
How To Use One-to-Many Database Relationships with Flask and SQLite — step-by-step Databases tutorial on Progressive Robot

How To Use One-to-Many Database Relationships with Flask and SQLite

Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you will use Flask with SQLite to create a to-do application where users can create lists of to-do items. You will learn how to use SQLite with Flask and how one-to-many database relationships work.

Read more
CHAT