Python

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
Python getattr() — step-by-step Python tutorial on Progressive Robot

Python getattr()

URL: https://www.progressiverobot.com/python-getattr/ In our previous tutorial we learned about [python system command](/community/tutorials/python-system-command-os-subprocess-call). In this tutorial we will be discussing about Python getattr() function. Python getattr() function Python getattr() function is used to get the value of an object’s attribute and if no attribute of that object is found, default value is returned. Basically, returning the […]

Read more
Python for loop — step-by-step Python tutorial on Progressive Robot

Python for loop

Let’s explore the Python for loop in detail and learn to iterate over different sequences including lists, tuples, and more.

Read more
Python String encode() decode() — step-by-step Python tutorial on Progressive Robot

Python String encode() decode()

URL: https://www.progressiverobot.com/python-string-encode-decode/ Python String encode() Python string encode() function is used to encode the string using the provided encoding. This function returns the [bytes](/community/tutorials/python-bytes) object. If we don't provide encoding, "utf-8" encoding is used as default. Python Bytes decode() Python bytes decode() function is used to convert bytes to string object. Both these functions allow […]

Read more
Building a Discord Bot in Python [Canceled] — step-by-step Python tutorial on Progressive Robot

Building a Discord Bot in Python [Canceled]

Discord isn’t just a great chat and voice app, it also has a rich ecosystem for extending and building bots. Get an overview of the Discord Python library, see how Discord handles events, and learn how to build and deploy your first Discord bot!

Read more
CHAT