Re: [Tutor] python challenges

2005-05-11 Thread Liam Clarke
Oops, missed that. Cheers. On 5/11/05, Max Noel <[EMAIL PROTECTED]> wrote: On May 11, 2005, at 07:23, Liam Clarke wrote:> Ack, banner.p eh?>> Can anyone explain the significance of the numbers? Are they columns?>> Regards,>>> Liam Clarke As I said, read about Run-Length Encoding.-- Maxmaxnoel_

Re: [Tutor] python challenges

2005-05-11 Thread Max Noel
On May 11, 2005, at 07:23, Liam Clarke wrote: > Ack, banner.p eh? > > Can anyone explain the significance of the numbers? Are they columns? > > Regards, > > > Liam Clarke As I said, read about Run-Length Encoding. -- Max maxnoel_fr at yahoo dot fr -- ICQ #85274019 "Look at you hacker... A

Re: [Tutor] python challenges

2005-05-10 Thread Liam Clarke
Ack, banner.p eh? Can anyone explain the significance of the numbers? Are they columns? Regards, Liam ClarkeOn 5/8/05, Max Noel <[EMAIL PROTECTED]> wrote: On May 7, 2005, at 20:50, D. Hartley wrote:> Ok, I hate to ask another question about this riddle. But I have> looked and looked and looked

Re: [Tutor] python challenges

2005-05-07 Thread Max Noel
On May 7, 2005, at 20:50, D. Hartley wrote: > Ok, I hate to ask another question about this riddle. But I have > looked and looked and looked. > > Where can I find more information on 'banner'? Everywhere I look it > starts telling me about banner ads and so on, and that is not what I > want! >

Re: [Tutor] python challenges

2005-05-07 Thread Danny Yoo
> On May 7, 2005, at 13:17, John Carmona wrote: > > > Hi to everybody reading this thread, can anybody point me to the URL > > where I can find these challenges. Many thanks Hi John, By the way, just to make sure you know, the mailing list here has an archive here: http://mail.python.org/

Re: [Tutor] python challenges

2005-05-07 Thread D. Hartley
Ok, I hate to ask another question about this riddle. But I have looked and looked and looked. Where can I find more information on 'banner'? Everywhere I look it starts telling me about banner ads and so on, and that is not what I want! Any howto's/tutorials/simple explanations would be apprecia

Re: [Tutor] python challenges

2005-05-07 Thread Max Noel
On May 7, 2005, at 13:17, John Carmona wrote: > Hi to everybody reading this thread, can anybody point me to the > URL where I can find these challenges. Many thanks > > JC > http://www.pythonchallenge.com/ -- Max maxnoel_fr at yahoo dot fr -- ICQ #85274019 "Look at you hacker... A pathe

Re: [Tutor] python challenges

2005-05-07 Thread John Carmona
Hi to everybody reading this thread, can anybody point me to the URL where I can find these challenges. Many thanks JC ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] python challenges

2005-05-06 Thread Max Noel
On May 6, 2005, at 22:32, D. Hartley wrote: > Maybe that's my problem. I dont know how to save this particular file > onto my computer first. I can't 'reach' it from the url. It's not > like a picture I can right click on and save image, or something. My > first thought was i needed to use th

Re: [Tutor] python challenges

2005-05-06 Thread D. Hartley
Maybe that's my problem. I dont know how to save this particular file onto my computer first. I can't 'reach' it from the url. It's not like a picture I can right click on and save image, or something. My first thought was i needed to use the module to do that. but apparently i need to use the

Re: [Tutor] python challenges

2005-05-06 Thread Max Noel
On May 6, 2005, at 22:20, D. Hartley wrote: > Yes, I realized my original guess was wrong. I think I found the > target file but now none of the module commands I'm used to will do > anything useful on it. I'm just getting "file not found" errors and > the like. There's something in the big pictu

Re: [Tutor] python challenges

2005-05-06 Thread D. Hartley
Yes, I realized my original guess was wrong. I think I found the target file but now none of the module commands I'm used to will do anything useful on it. I'm just getting "file not found" errors and the like. There's something in the big picture that I'm not getting here, I think. All I know is

Re: [Tutor] python challenges

2005-05-06 Thread Max Noel
On May 6, 2005, at 21:57, Tim Peters wrote: > What do you have against PIL ? Nothing in particular, just no idea how to use it. > simple ways has been part of the fun for me. I don't know how you > solved level 7, Hint: it's a stupid and inelegant method involving a certain progra

Re: [Tutor] python challenges

2005-05-06 Thread Max Noel
On May 6, 2005, at 21:40, D. Hartley wrote: > I figured out what module you're supposed to use for 5, and the thing > that kills me is it's a module I've actually *used* too! But I don't > know what to . man this is hard to say without using a spoiler. I > dont know what particular thing to a

Re: [Tutor] python challenges

2005-05-06 Thread Tim Peters
[Max Noel] ... > In fact, I am (and will probably give up) at number 9. I was > able to do #7 without using PIL, but it seems that it is once again > necessary for #9, and I'm not gonna be able to use a workaround this > time. What do you have against PIL ? Processing images has played no par

Re: [Tutor] python challenges

2005-05-06 Thread D. Hartley
I figured out what module you're supposed to use for 5, and the thing that kills me is it's a module I've actually *used* too! But I don't know what to . man this is hard to say without using a spoiler. I dont know what particular thing to apply it to (and i tried to read it from the source cod

Re: [Tutor] python challenges

2005-05-06 Thread Max Noel
On May 6, 2005, at 21:06, Alberto Troiano wrote: > Hey > > I'm stucked in number 5 > It says pronounce it and there is nothing else not in page nor in > the source > code > What can I do?? Well... Go ahead and pronounce it (the title of the page, that is)... Sounds awfully close to a ce

Re: [Tutor] python challenges

2005-05-06 Thread Alberto Troiano
ECTED]> >CC: Python tutor >Subject: Re: [Tutor] python challenges >Date: Fri, 6 May 2005 13:01:28 -0700 (PDT) > > > > > > Anyone have a gentle hint, or pointer to another 'beginner' tutorial > > > to regular expressions? > > > > > > Th

Re: [Tutor] python challenges

2005-05-06 Thread Danny Yoo
> > Anyone have a gentle hint, or pointer to another 'beginner' tutorial > > to regular expressions? > > > > Thanks! I dont want to get stuck here in the riddles! Yeah, there is also a great regular expression HOWTO here: http://www.amk.ca/python/howto/regex/ Best of wishes!

Re: [Tutor] Python challenges

2005-05-06 Thread Chris Smith
> >> Anyone have a gentle hint, or pointer to another 'beginner' tutorial >> to regular expressions? >> >> Thanks! I dont want to get stuck here in the riddles! >> > > How about counting how many times each character is used and look for > the ones that are used infrequently (like only once). Dict

Re: [Tutor] Python challenges

2005-05-06 Thread Chris Smith
On Thursday, May 5, 2005, at 19:33 America/Chicago, [EMAIL PROTECTED] wrote: > Anyone have a gentle hint, or pointer to another 'beginner' tutorial > to regular expressions? > > Thanks! I dont want to get stuck here in the riddles! > How about counting how many times each character is used and

Re: [Tutor] python challenges

2005-05-05 Thread Alan Gauld
> Anyone have a gentle hint, or pointer to another 'beginner' tutorial > to regular expressions? You can try the regex page in my tutorial - under advanced topics. Its not as in-depth as the how-to but it should get you to the point where the how-to makes sense... Alan G Author of the Learn to P

Re: [Tutor] python challenges

2005-05-05 Thread jfouhy
Quoting Max Noel <[EMAIL PROTECTED]>: > (Also, note that however simple they may seem, one can never > completely master regular expressions. There are entire books > dedicated to the things, and when properly used, they're the most > powerful text processing tool available for any language. In

Re: [Tutor] python challenges

2005-05-05 Thread D. Hartley
It took a little bit of playing to limit it so that it got ONLY 3 cap letters on either side, but I just got the riddle and just about jumped out of my chair when it worked. Progress is possible! ha ha! On 5/5/05, Max Noel <[EMAIL PROTECTED]> wrote: > > On May 6, 2005, at 01:33, D. Hartley wrote

Re: [Tutor] python challenges

2005-05-05 Thread Max Noel
On May 6, 2005, at 01:33, D. Hartley wrote: > They do seem to be useful! But with all those special characters, it > certainly doesnt make for an easy read. I think I'm making some > progress - I got it to make me a list of all the > {uppercaseuppercaseuppercaselowercaseuppercaseuppercaseupperca

Re: [Tutor] python challenges

2005-05-05 Thread D. Hartley
They do seem to be useful! But with all those special characters, it certainly doesnt make for an easy read. I think I'm making some progress - I got it to make me a list of all the {uppercaseuppercaseuppercaselowercaseuppercaseuppercaseuppercase} chunks (477 of them?!?!) - turns out the first tim

Re: [Tutor] python challenges

2005-05-05 Thread jfouhy
Quoting "D. Hartley" <[EMAIL PROTECTED]>: > I do have one question, however. I'm on riddle 3 ("re"), and got sent > to the howto about regular expressions by the hint. But it did not > seem (at least to me) very user-friendly: or perhaps I'm just not > applying it to the problem correctly. I can s

Re: [Tutor] python challenges

2005-05-05 Thread Max Noel
On May 6, 2005, at 01:10, D. Hartley wrote: > Anyone have a gentle hint, or pointer to another 'beginner' tutorial > to regular expressions? > > Thanks! I dont want to get stuck here in the riddles! > > ~Denise I learned most of what I know about regular expressions while I was learning P

[Tutor] python challenges

2005-05-05 Thread D. Hartley
I seem to have lost the original link, but thanks to whoever posted the url for the python challenges. I've been working through them and they've made for a fun afternoon :) I even came up with a really elegant solution for #2 that I was really proud of - being new to python, very often I find pro