[Tutor] python challenges
D. Hartley
denise.hartley at gmail.com
Fri May 6 02:58:30 CEST 2005
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 <maxnoel_fr at yahoo.fr> wrote:
>
> 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
> > {uppercaseuppercaseuppercaselowercaseuppercaseuppercaseuppercase}
> > chunks (477 of them?!?!) - turns out the first time through I missed
> > something very small (and very helpful, in this case): [A-Z].
> >
> > Thanks for the pointers :)
> >
> > ~Denise
>
> Oh, here's another piece of advice when you're dealing with
> regular expressions: they use a lot of backslashes, so use raw
> strings in order not to have to escape them all.
>
> -- Max
> maxnoel_fr at yahoo dot fr -- ICQ #85274019
> "Look at you hacker... A pathetic creature of meat and bone, panting
> and sweating as you run through my corridors... How can you challenge
> a perfect, immortal machine?"
>
>
More information about the Tutor
mailing list