XML parsing in Python

Note: This article has also featured on geeksforgeeks.org .

This article focuses on how one can parse a given XML file and extract some useful data out of it in a structured way.

First of all, what is XML?

1XML stands for eXtensible Markup Language. It was designed to store and transport data.
It was designed to be both human- and machine-readable.That’s why, the design goals of XML emphasize simplicity, generality, and usability across the Internet.

The XML file to be parsed in this tutorial is actually a RSS feed.Read More »

Working with PDF files in python!

Note: This article has also featured on geeksforgeeks.orgunnamed

All of you must be familiar with what PDFs are. In-fact, they are one of the most important and widely used digital media. PDF stands for Portable Document Format. It uses .pdf extension. It is used to present and exchange documents reliably, independent of software, hardware, or operating system.

Invented by Adobe, PDF is now an open standard maintained by the International Organization for Standardization (ISO). PDFs can contain links and buttons, form fields, audio, video, and business logic.

In this article, we will learn, how we can do various operations like:Read More »

Working with CSV files in Python

Note: This article has also featured on geeksforgeeks.com .

This article explains how to load and parse a CSV file in Python.

First of all, what is a CSV ?csv

CSV (Comma Separated Values) is a simple file format used to store tabular data, such as a spreadsheet or database. A CSV file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format.
Read More »