The """ is for the docstring - if you need the user to know what theyre doing with the program you can create documentation, and what you put in those quotes wwill come up in that (I think)
On 3/6/08, Dotan Cohen <[EMAIL PROTECTED]> wrote: > > On 06/03/2008, Dan Bishop <[EMAIL PROTECTED]> wrote: > > On Mar 5, 7:24 pm, Matt Nordhoff <[EMAIL PROTECTED]> 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? > -- > http://mail.python.org/mailman/listinfo/python-list -- I like kids, but I don't think I could eat a whole one...
-- http://mail.python.org/mailman/listinfo/python-list