Getting the warning `ResourceWarning: unclosed file <_io.BufferedReader` on Python 3.5.0. ``` Python fd = open(path, 'rb') contents = fd.read() b64 = base64.b64encode(contents) ``` fd isn't closed after uploading.
Getting the warning
ResourceWarning: unclosed file <_io.BufferedReaderon Python 3.5.0.fd isn't closed after uploading.