On Thu, 29 Sep 2005, Peter Corbett wrote:
> One of my friends has recently taken up Python, and was griping a bit
> about the language (it's too "prescriptive" for his tastes). In
> particular, he didn't like the way that Python expressions were a bit
> crippled. So I delved a bit into the lang
On 9/29/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> "fraca7" wrote:
>
> > print ''.join(map(lambda x: chrord(x) - ord('a')) + 13) % 26) +
> > ord('a')), 'yvfc'))
>
> that's spelled
>
> print "yvfc".decode("rot-13")
>
> or, if you prefer,
>
> print "yvfc".encode("rot-13")
>
> , in co
"fraca7" wrote:
> print ''.join(map(lambda x: chrord(x) - ord('a')) + 13) % 26) +
> ord('a')), 'yvfc'))
that's spelled
print "yvfc".decode("rot-13")
or, if you prefer,
print "yvfc".encode("rot-13")
, in contemporary python.
--
http://mail.python.org/mailman/listinfo/python
fraca7 wrote:
> Richie Hindle a écrit :
>
>> [Peter]
>>
>>> http://www.pick.ucam.org/~ptc24/yvfc.html
>>
>>
>>
>> [Jeff]
>>
>>> Yuma Valley Agricultural Center?
>>> Yaak Valley Forest Council?
>>
>>
>>
>> I went through the same process. My guess is "Yes, Very F'ing Clever."
>> Peter?
>>
>
> pri
[Peter]
> http://www.pick.ucam.org/~ptc24/yvfc.html
[fraca7]
> print ''.join(map(lambda x: chrord(x) - ord('a')) + 13) % 26) +
> ord('a')), 'yvfc'))
Ah! Or more easily, Edit / Apply ROT13. Thanks!
--
Richie Hindle
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
"Crypthonic" could be the exact word...On 29 Sep 2005 15:19:11 +0100, Peter Corbett <[EMAIL PROTECTED]
> wrote:Richie Hindle <[EMAIL PROTECTED]
> writes:>> [Peter]> > http://www.pick.ucam.org/~ptc24/yvfc.html>> [Jeff]> > Yuma Valley Agricultural Center?
> > Yaak Valley Forest Council?>> I went thro
fraca7 wrote:
> Richie Hindle a écrit :
>
>> [Peter]
>>
>>> http://www.pick.ucam.org/~ptc24/yvfc.html
>>
>>
>>
>> [Jeff]
>>
>>> Yuma Valley Agricultural Center?
>>> Yaak Valley Forest Council?
>>
>>
>>
>> I went through the same process. My guess is "Yes, Very F'ing Clever."
>> Peter?
>>
>
> pri
Richie Hindle a écrit :
> [Peter]
>
>>http://www.pick.ucam.org/~ptc24/yvfc.html
>
>
> [Jeff]
>
>>Yuma Valley Agricultural Center?
>>Yaak Valley Forest Council?
>
>
> I went through the same process. My guess is "Yes, Very F'ing Clever."
> Peter?
>
print ''.join(map(lambda x: chrord(x)
On Thursday 29 September 2005 04:53, Peter Corbett wrote:
> One of my friends has recently taken up Python, and was griping a bit
> about the language (it's too "prescriptive" for his tastes). In
> particular, he didn't like the way that Python expressions were a bit
> crippled. So I delved a bit i
Richie Hindle <[EMAIL PROTECTED]> writes:
>
> [Peter]
> > http://www.pick.ucam.org/~ptc24/yvfc.html
>
> [Jeff]
> > Yuma Valley Agricultural Center?
> > Yaak Valley Forest Council?
>
> I went through the same process. My guess is "Yes, Very F'ing Clever."
> Peter?
You're all thinking about it t
[Peter]
> http://www.pick.ucam.org/~ptc24/yvfc.html
[Jeff]
> Yuma Valley Agricultural Center?
> Yaak Valley Forest Council?
I went through the same process. My guess is "Yes, Very F'ing Clever."
Peter?
--
Richie Hindle
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Peter Corbett wrote:
> One of my friends has recently taken up Python, and was griping a bit
> about the language (it's too "prescriptive" for his tastes). In
> particular, he didn't like the way that Python expressions were a bit
> crippled. So I delved a bit into the language, and found some sour
Peter Corbett <[EMAIL PROTECTED]> writes:
> http://www.pick.ucam.org/~ptc24/yvfc.html
>
Madness! I love it.
--
http://mail.python.org/mailman/listinfo/python-list
[Peter]
> http://www.pick.ucam.org/~ptc24/yvfc.html
Beautiful! Greenspun's Tenth Rule[1] performed before your very eyes! (Not
quite, because you started with Python so you were already half way there.
And yours probably isn't buggy. 8-)
[1] http://en.wikipedia.org/wiki/Greenspun's_Tenth_Rule
One of my friends has recently taken up Python, and was griping a bit
about the language (it's too "prescriptive" for his tastes). In
particular, he didn't like the way that Python expressions were a bit
crippled. So I delved a bit into the language, and found some sources
of syntactic sugar that I
15 matches
Mail list logo