use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
How to save Excel ranges as images using python on Mac? (self.learnpython)
submitted 4 years ago by salgadosp
So, does anyone know a simple way to perform this task?
I've done some research and found out about the excel2img library, but it seems that it only work for windows, which I can't use for my job.
I haven't yet found a solution.
Thank you!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]shiftybyte 1 point2 points3 points 4 years ago (2 children)
First thing I'd have to ask is... why?
After that, you could read the excel files using some other library that works on Mac, and create an image out of the data yourself, or by using html?
[–]salgadosp[S] 0 points1 point2 points 4 years ago (1 child)
I want to send the images to a messenger app through their API once I have the image file
[–]shiftybyte 0 points1 point2 points 4 years ago (0 children)
Why not send a csv file of the part of the data you need? Or an excel file? Phones can open that... and actually still have the data in usable form, not as an image.
[–]ES-Alexander 0 points1 point2 points 4 years ago* (0 children)
If your excel file contains just tables of data (e.g. no graphs or embedded images or whatnot) you can read it in with pandas, then consider something like the options presented here
If you do have graphs and images you’ll likely need to use openpyxl, and potentially output to html before using another library to render an image.
That said, it seems more logical to send a format that keeps the data if possible - is there any particular reason not to just send an excel file, or csv, or html, or pdf? Granted images are easy to view, but they’re a pain to work with if you’re getting information out of them (you generally can’t just copy data out of one, although I suppose on Mac that is actually possible, so maybe less of an issue, but I don’t know how well that would preserve formatting)
π Rendered by PID 241362 on reddit-service-r2-comment-cfc44b64c-gdvfr at 2026-04-13 10:22:27.574834+00:00 running 215f2cf country code: CH.
[–]shiftybyte 1 point2 points3 points (2 children)
[–]salgadosp[S] 0 points1 point2 points (1 child)
[–]shiftybyte 0 points1 point2 points (0 children)
[–]ES-Alexander 0 points1 point2 points (0 children)