Flask

Getting Started With Flask — step-by-step Python tutorial on Progressive Robot

Getting Started With Flask

Learn how to use Flask — a Python micro web framework, to build your web applications. See how Flask handles routing, web page templating, and more.

Read more
How To Use a PostgreSQL Database in a Flask Application — step-by-step Databases tutorial on Progressive Robot

How To Use a PostgreSQL Database in a Flask Application

In web applications, you usually need a database, which is an organized collection of data. You use a database to store and maintain persistent data that can be retrieved and manipulated efficiently. PostgreSQL, or Postgres, is a relational database management system that provides an implementation of the SQL querying language. In this tutorial, you’ll build a small book review web application that demonstrates how to use the psycopg2 library, a PostgreSQL database adapter.

Read more
How To Use an SQLite Database in a Flask Application — step-by-step Databases tutorial on Progressive Robot

How To Use an SQLite Database in a Flask Application

In web applications, you usually need a database, which is an organized collection of data. SQLite is a simple and fast open source SQL engine that can be used with Python to store and manipulate application data. SQLite works well with Python because the Python standard library provides the sqlite3 module, which you can use to interact with any SQLite database. In this tutorial, you’ll build a small web application that demonstrates how to use SQLite with Flask.

Read more
How To Use and Validate Web Forms with Flask-WTF — step-by-step Python tutorial on Progressive Robot

How To Use and Validate Web Forms with Flask-WTF

WTForms is a Python library that provides flexible web form rendering. You can use it to render text fields, text areas, password fields, radio buttons, and others. WTForms also uses a CSRF token to provide protection from CSRF attacks. In this tutorial, you’ll build a small web application that demonstrates how to render and validate web forms using Flask-WTF.

Read more
CHAT