Python

How to convert a CSV file to XML with Python

In this article, we will see how to perform this conversion using Python.

November 30, 2024
Python

Parsing the DOM with Python

DOM parsing is a fundamental technique for analyzing and manipulating the content of HTML documents. Python offers several powerful libraries to simplify this operation, making it accessible even to beginners.

November 23, 2024
Python

How to get file information in Python

Obtaining information about a file in Python is an essential operation when working with the file system, as it allows you to retrieve details such as size, type, permissions, and modification timestamps.

November 10, 2024
Python

How to convert HTML to PDF with Pyppeteer in Python

In this article, we will explore a simple Python script to generate PDF files from HTML files using the Pyppeteer library, a Python implementation of Puppeteer.

November 3, 2024
Python

How to calculate the MD5 checksum of a file with Python

Python provides simple and effective tools to calculate the MD5 checksum of a file through the hashlib module. Below, we will explore how to use this module to calculate the MD5 checksum of a file in a few steps.

November 1, 2024
Python

How to Convert Arabic Numerals to Roman Numerals with Python

In this article, I will show you how to implement a simple Python program to convert an Arabic (decimal) number to a Roman numeral.

October 6, 2024