1

PARSING ITUNES PLAYLISTS

Image

Our Python expedition begins with a simple project that finds duplicate music tracks in iTunes playlist files and plots various statistics such as track lengths and ratings. You’ll start by taking a look at the iTunes playlist format and then learn how to extract information from these files using Python. To plot this data, you’ll use the matplotlib library.

In this project, you will learn the about the following topics:

• XML and property list (p-list) files

• Python lists and dictionaries

• Using Python set objects

• Using numpy arrays

• Histograms and scatter plots

• Making simple plots with the matplotlib library ...

Get Python Playground now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.