How to Upload Files with Python’s requests Library

Introduction Python is supported by many libraries which simplify data transfer over HTTP. The requests library is one of the most popular Python packages as it’s heavily used in web scraping. It’s also popular for interacting with servers! The library makes it easy to upload data in a popular format like JSON, but also makes it easy to upload files as well. In this tutorial, we will take a look at how to upload files using Python’s requests library. The […]

Read more

Serving Files with Python’s SimpleHTTPServer Module

Introduction Servers are computer software or hardware that processes requests and deliver data to a client over a network. Various types of servers exist, with the most common ones being web servers, database servers, application servers, and transaction servers. Widely used web servers such as Apache, Monkey, and Jigsaw are quite time-consuming to set up when testing out simple projects and a developer’s focus is shifted from producing application logic to setting up a server. Python’s SimpleHTTPServer module is a […]

Read more