[Baypiggies] A marginally pythonic announcement

Eric Walstad eric at ericwalstad.com
Wed Oct 10 02:32:46 CEST 2007


def geeky_announcement():
    """A marginally pythonic announcement"""
    d = dict(
        py_ist=raw_input(
            "What do you call a Python programmer?\t"
        ),
        non_py_lang=raw_input(
            "Name a programming language other than Python\t"
        ),
        my_email=''.join([chr(i) for i in [
            0x65,0x72,0x69,0x63,0x40,0x65,0x72,0x69,0x63,0x77,
            0x61,0x6c,0x73,0x74,0x61,0x64,0x2e,0x63,0x6f,0x6d,
        ]]),
        sep='*' * 65,
    )
    d['verb'] = raw_input(
        "What do '%s' programmers do when no one is looking?\t" \
        % d['non_py_lang']
    )

    msg = """

%(sep)s
I wanted to let the folks on the list know about an upcoming
office rental opportunity.  The office/room next to mine may
be available soon (probably Nov 1).  There are two
"Independent Contractor" %(py_ist)ss here now.  I've heard
that %(non_py_lang)s programmers are at times known to
%(verb)s, so I think it would be awesome to have another
%(py_ist)s rent the room next door.

The office building is very near the Glenn Park BART station
in San Francisco.  It's a converted mixed use building that
now has two three-room offices above and a coffee shop below.

If you are interested, contact me off-list

Thanks,

Eric.
%(my_email)s
%(sep)s"""
    print msg % d

#geeky_announcement()




More information about the Baypiggies mailing list