browser - Python's webbrowser opens data URI in IE -
I am trying to open a data ury in the default browser and instead opens it in IE I have this line :
webbrowser.open_new_tab (url)
that opens the URL correctly such as http://google.com
For example firefox
.
But when I use data
like data URI: image / jpeg; Bse64, / 9j / 4AAQSkZJRgABAQAAAQABAAD // G7QlJFQVRPUjogZ2QtanBlZyB2MS4wIChlc2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gNzAK / 9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4 + Piureldapeg3PT47 / 9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7 / 8AAEQgAAQABAwEiAAIRAQMRAf / Eab8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC // Aalukaibwmkbmfbkrkeaabfkeswaikusitfbbrnriksikrkigzgkknkskevutvjadnikoijchyksgbkgsyrnkkrkkndu2Nzg5OkNERUZHSElKUlRVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7Sltre4ubrCw8TFxsfIycrS09TVltfY2drh4uPk5ebn6Onq8fLz9PX29 / J5 + V / Eab8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC // AelluraibagkeavkhbkrkeaekdwabganrbuhmkikvhyksetijkbkbraskggwkrkgmlLwFWJy0QoWJ DThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5 + Jp6vLz9PX29 / J5 + V / Audkkekmrada8A4Giiiuk5D // z
this In the Internet Explorer
, which is not my default browser, and can not open it correctly also.
Disclaimer: I'm new to Python
Comments
Post a Comment