0

I am trying to see image as a text but when I compile this program in Emacs it freezes. Is the problem in Emacs when showing images as text? My Python code is right below.

import requests as req
import re
img = req.get('https://imgs.xkcd.com/comics/python.png')
print(img._content)

I also run this program in Emacs shell (M-x shell), it's working incredibly slower than gnome-terminal (but not freezes). Why does it happen? Is there a way to increase the speed like normal terminal.

Emacs version 26.3

OS:Ubuntu 24.04/Linux

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.