title: Open a picture via URL and detecting if it is png, jpg or gif in Python?
body: <p>I want to determine if a puush.me image (Links are no HTML, just the image) is png, jpg or gif. Is there a way to do that n python? Urllib does not seem to open images and detecting them.</p>