Why """, not '''?

Dotan Cohen dotancohen at gmail.com
Thu Mar 6 02:11:47 EST 2008


On 06/03/2008, Dan Bishop <danb_83 at yahoo.com> wrote:
> On Mar 5, 7:24 pm, Matt Nordhoff <mnordh... at mattnordhoff.com> wrote:
>
> > Steven D'Aprano wrote:
>  > > Surely it would depend on the type of text: pick up any random English
>  > > novel containing dialogue, and you're likely to find a couple of dozen
>  > > pairs of quotation marks per page, against a few apostrophes.
>  >
>
> > That's an idea... Write a novel in Python docstrings.
>
>
> Or better yet, write in Python syntax.
>
>
>  assert len([man for man in now_alive() if
>  man.remembers(datetime.date(1775, 4, 18))]) <= HARDLY
>
>  lantern_count = {'land': 1, 'sea': 2}.get(british.location(), 0)
>  n_ch_twr.hang(Lantern() for _ in xrange(lantern_count))
>
>  if lantern_count:
>     for village in middlesex:
>         ride_thru(village)
>         spread_alarm(village)
>

That looks ported from lolcode.
http://lolcode.com/

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the Python-list mailing list