Python

Python unittest - unit test example — step-by-step Python tutorial on Progressive Robot

Python unittest – unit test example

URL: https://www.progressiverobot.com/python-unittest-unit-test-example/ Today we will learn about python unittest and look through python unit test example programs. In previous tutorial we learned about [python zip function](/community/tutorials/python-zip-function). Python unittest Python unittest module is used to test a unit of source code. Suppose, you need to test your project. You know what kind of data the function […]

Read more
An Introduction to String Functions in Python 3 — step-by-step Python tutorial on Progressive Robot

An Introduction to String Functions in Python 3

Python has several built-in functions associated with the string data type. These functions let us easily modify and manipulate strings. In this tutorial, we’ll go over several different functions that we can use to work with strings in Python 3.

Read more
How To Create a Python Class Generator for VS Code — step-by-step Python tutorial on Progressive Robot

How To Create a Python Class Generator for VS Code

If you hate stubbing out Python classes, here’s how you can create an extension in Visual Studio Code to do it for you. In this article, you’ll see how to create that extension. You’ll prompt for user input, use array map and join functions, use ES6 template literals, and write to the file system.

Read more
How To Build a Weather App in Django — step-by-step Python tutorial on Progressive Robot

How To Build a Weather App in Django

In this article, you will build a simple Django app that displays the current weather for various cities. To get the current weather data, you will use the Open Weather Map API. You will work with a database and create a form, so the concepts used here are applicable to more complicated projects.

Read more
How To Create a Twitter App with Python — step-by-step Python tutorial on Progressive Robot

How To Create a Twitter App with Python

Having access to the Twitter API can help you manage your social media accounts, and allow you to mine social media for data. This can be useful for brand promotion if you represent a business or an organization, and it can be enjoyable and entertaining for individual users…

Read more
How To Handle Errors in a Flask Application — step-by-step Python tutorial on Progressive Robot

How To Handle Errors in a Flask Application

In this tutorial, you’ll build a small web application that demonstrates how to handle common errors one encounters when developing a web application. You’ll create custom error pages, use the Flask debugger to troubleshoot exceptions, and use logging to track events in your application.

Read more
CHAT