From the course: Effective Serialization with Python

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Challenge: repr and read pickle

Challenge: repr and read pickle - Python Tutorial

From the course: Effective Serialization with Python

Challenge: repr and read pickle

(upbeat music) - [Instructor] In rides.py, you have a definition of a Ride class. It has a start and an end, a distance, and the number of passengers. You need to add a wrapper to the class and then, you need to load rides from the ride.pkl file, which is in a Pickle format, and print each ride to the screen.

Contents