When working with external resources, such as files, it's important to close the handle as soon as you're done using the resource. Unfortunately, it can be pretty easy to forget to properly close off the handle when you're done using it. Fortunately, Python includes a cool keyword called with to help manage external resources.