You know you're a Pythonista when..
David M. Cooke
cookedm+news at physics.mcmaster.ca
Thu Jun 19 14:51:35 EDT 2003
At some point, Gerrit Holl <gerrit at nl.linux.org> wrote:
>> > > > > >> 3) Discovering filter() and map().
>> > > > > >> 4) Fortifying classes with __setattr__() and friends.
>> > > > > >> 4.5) Leaving if:, elif:, and else: on their
>> > > > > >> scorn or deprecation.
>> > > > > 5) Discovering list comprehensions and then
>> > > > > dumping filter() and map().
>> > > > 6) Belive that "self" is not ugly
>> > > 7) You start writing a simple script and when you are
>> > > finished you realize that you have a library
>> > 7.a) You finish writing a simple script, and realize it's going
>> > to be an excellent library, and redo it again in a library
>> > form, which is called by a separate script. (*GUILTY*)
>
> 42) You discovered a useful X tool called 'import' by accidently
> writing a python script with '#!/bin/sh' as the shebang.
>
> This really happend :)
> $ whatis import
> import (1) - capture some or all of an X server screen and save the image to a file
>
>
> 170) You go on pilgrimage to the Centrum voor Wiskunde en
> Informatica (Stichting Mathematisch Centrum) in the
> Kruislaan; I pass it on my way to the supermarket :P
>
> 682) You think Python has too many curly braces
>
> 2730) You're Dutch
>
> 10922) When you end each mail using Timbot.message.end(...), returning:
>
> 43690-is-the-next-number-using-my-beatiful-list-comprehension-ly -
> y'rs t^Hgerrit
Sloane's A084180?
http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=A084180
>>> [ (4**n-1)*2/3 for n in range(1,10) ]
[2, 10, 42, 170, 682, 2730, 10922, 43690, 174762]
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
More information about the Python-list
mailing list