Not sure about doing it this way, but I guess it does demonstrate the use of urllib and BytesIO...