We use Python 3.6

go back Level: Beginner (img: BG / score: 2) level Bite 38. Using ElementTree to parse XML

52 out of 54 users completed this Bite ...
Will you be Pythonista #53 to crack this Bite?
Average Bite difficulty 1-10 rating: 3.5
» You can do it! 😌

In this Bite you will use ElementTree to parse some Nolan movies we extracted from OMDb.

Luckily most APIs switched to JSON, but sometimes XML is all there is, so at least learn to parse some! Complete the get_tree, get_movies and get_movie_longest_runtime functions below. See the docstrings and tests for more info.

Have fun and remember:

Keep calm and code in Python!

Github login button