FAQ  •  Register  •  Login

Level 7

Moderators: UncleTimmy, mjpieters

Enjoying the challenge? Need a hint?
Make a donation and help keep the site running! -thesamet
<<

PixelHead777

Posts: 4

Joined: Fri Nov 13, 2009 7:09 am

Post Wed Nov 25, 2009 7:52 am

Re: gray bar

techrolla wrote:
manuelg wrote:figured it out
hint2: (i * 7, 43)


Does anyone agree that this hint should be taken out? I didn't know where to start and then I saw this and I figured it out without any python (or any coding) whatsoever. I would have liked to have had to dwell on this for a while. This hint made this level by far the easiest...

I wholeheartedly disagree.
I saw this and looked in the documentation for the PIL.
I saw one spot where it was similar to notation in a function.
It doesn't work in that function.
It can't be used anywhere else as far as I can tell.
None of these hints are helpful!!!

Extension:
OK, I cropped it in Paintshop Pro, making sure not to remove any part of the gray bar on the sides, but leaving only a one pixel line. I have no way to do anything with this. I don't know what I'm supposed to do, or where I'm supposed to go, or most importantly, WHAT FUNCTION TO USE!!!I'm using effbot as a resource. it tells me NOTHING.
<<

blinkfandango

Posts: 1

Joined: Sat Nov 28, 2009 4:32 pm

Post Sat Nov 28, 2009 4:34 pm

thesamet wrote:
goldenapple wrote:Hey guys

I'm new in Python and started with Version 3.1.

Is it possible, that the needed module isn't available for 3.x yet?!

I would feel really sad if so... because that challange is such a fun!

thx


Welcome! In this puzzle (and several others down the line) you need to access pixel data of the image. I recommend using PIL. Its latest version should be compatible with Python 3.


I am having trouble finding PIL for Python 3, the current release (1.1.7) on effbot only seems to support 2.4, 2.5 and 2.6. Any ideas where I could find one compatible with 3 or is it not available yet?

http://effbot.org/downloads/#pil
<<

wspek

Posts: 1

Joined: Fri Jan 08, 2010 12:31 pm

Post Fri Jan 08, 2010 12:33 pm

Re: Level 7

OK the picture told me I'm a smart guy, but I have absolutely no idea what to do with the answer it gave me. What is the next step?!
<<

goodguyzl

Posts: 2

Joined: Sun Mar 28, 2010 2:15 am

Post Sun Mar 28, 2010 2:18 am

Got it!

gorilla wrote:I think that formula is not that hard to work out yourself... You only have to open up paint and count the pixels...



You only have to divide the height of the image by two to work out where the grey bar is. :P

I'm stuck on the second part of this. I've got the message from the grey bar and have a list of 9 values.. but I'm not sure what to do with them. :( I've tried applying them back to the grey bar, and I get "mma mamad", which I can't do much with).. any hints?

edit: solved it, my code was ignoring duplicate pixels (so with two blocks of the same grey, only the first was being counted)



This really helped me out of the step 2~~ Thx a lot
<<

goodguyzl

Posts: 2

Joined: Sun Mar 28, 2010 2:15 am

Post Sun Mar 28, 2010 2:19 am

Re: Level 7

i*7 is the key , and not only 43, 43-51 all work
Previous

Return to Python Challenge Hints

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.