Python

How To Add Unit Testing to Your Django Project — step-by-step Python tutorial on Progressive Robot

How To Add Unit Testing to Your Django Project

Testing a website can be a complex task to undertake because it is made up of several layers of logic like handling HTTP requests, form validation, and rendering templates. However Django provides a set of tools that makes testing your web application seamless. In this tutorial, you will set up a test suite in your Django project and write unit tests for the models and views in your application. You will run these tests, analyze their results, and learn how to find the causes of failing tests.

Read more
How To Convert Data Types in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Convert Data Types in Python 3

This Python 3 tutorial will guide you through converting data types including numbers, strings, tuples and lists, as well as provide examples to help familiarize yourself with different use cases.

Read more
Comment démarrer avec la librairie Requests en Python — step-by-step Python tutorial on Progressive Robot

Comment démarrer avec la librairie Requests en Python

Dans de nombreuses apps, il est normal de se connecter à divers services tiers en utilisant des API. Lorsque vous utilisez ces API, vous pouvez accéder à des données telles que des informations météorologiques, des résultats sportifs, des listes de films, des tweets, des…

Read more
How To Plot Data in Python 3 Using matplotlib — step-by-step Python tutorial on Progressive Robot

How To Plot Data in Python 3 Using matplotlib

Visualization is a quick and easy way to convey concepts in a universal manner, especially to those who aren’t familiar with your data. This tutorial will describe how to plot data in Python using the 2D plotting library matplotlib. We’ll go through generating a scatter plot using a small set of data, adding information such as titles and legends to plots, and customizing plots by changing how plot points look.

Read more
CHAT