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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.