Help me with Python please (picture)

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Sep 28 01:18:06 EDT 2013


On Fri, 27 Sep 2013 17:43:42 -0700, jae655 wrote:

> http://imgur.com/E6vrNs4
> 
> 
> Can't seem to be getting an output.

The problem with your code has to do with the code between pixel 
coordinates (29, 234) and (175, 249) approximately. If you open your 
image in a pixel editor, copy and paste that part out, run it through 
some OCR software, and then add "print " (including the space) before it, 
you will probably get the result you are after.

By the way, posting a picture of your code is thoughtless and rude to 
those contributors and programmers who are blind or partially sighted. If 
you post text, they can contribute using a screen-reader. If you post a 
picture, they're screwed. Even if you don't give two hoots for the blind, 
at least consider that maybe they can answer your question when nobody 
else can.

Why would we want to follow a link to look at your code, when we could 
read it right here in your message? We might not have access to imgur 
(many places block it). We cannot copy and paste your code to run it to 
see what it does, or make edits to it. If we want to describe parts of 
your code we have to re-type it, possibly introducing our own typos.

I really don't understand why you would take program code, which is text, 
and take a screenshot of it, then spend time blanking out parts of the 
screenshot. Text is *much* more useful for a programmer. It astonishes me 
that there is an entire subreddit on imgur dedicated to people who take 
screenshots of their code. What's wrong with them?

Could be worse -- at least you didn't take a photo of the screen with 
your phone, them email the picture to yourself, then take a screenshot of 
the photo in your mail client, then upload that screenshot to imgur, then 
take a screenshot of the picture on imgur, then post that screenshot here.


-- 
Steven



More information about the Python-list mailing list