Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8804

Re: Anyone want to critique this program?

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: Anyone want to critique this program?
References (2 earlier) <5c3aba69-fddd-45ed-bf0c-8fa98df7aa73@r2g2000vbj.googlegroups.com> <Xns9F1771465C83AOKB@88.198.244.100> <75474208-0a8f-4ac1-8e26-18d8fe6b9efc@u26g2000vby.googlegroups.com> <Xns9F18623A1FBF4OKB@88.198.244.100> <mailman.599.1309800071.1164.python-list@python.org>
Date 2011-07-05 10:03 +1000
Message-ID <8762nhk2ze.fsf@benfinney.id.au> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Chris Angelico <rosuav@gmail.com> writes:

> In this instance, I believe the OP was paragraphing his text.

What is “paragraphing”?

> Is there a convenient way to do that in a triple-quoted string?

Did I answer this earlier in the thread (also at
<URL:http://stackoverflow.com/questions/2504411/proper-indentation-for-python-multiline-strings/2504454#2504454>)?

> My personal inclination would be to simply back-tab it. It looks ugly,
> but at least it works, and doesn't require a run-time re-parse.

Readability counts. Why is “doesn't require a run-time re-parse” more
valuable than readability?

-- 
 \           “Because of the impropriety of entertaining guests of the |
  `\    opposite sex in the bedroom, it is suggested that the lobby be |
_o__)                           used for this purpose.” —hotel, Zurich |
Ben Finney

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-02 19:19 -0700
  Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-03 13:02 +1000
    Re: Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-02 20:41 -0700
      Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-03 14:00 +1000
      Re: Anyone want to critique this program? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-07-03 18:06 +0000
        Re: Anyone want to critique this program? John Salerno <johnjsal@gmail.com> - 2011-07-03 20:25 -0700
          Re: Anyone want to critique this program? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-07-04 16:37 +0000
            Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-05 03:21 +1000
              Re: Anyone want to critique this program? Ben Finney <ben+python@benfinney.id.au> - 2011-07-05 10:03 +1000
                Re: Anyone want to critique this program? Chris Angelico <rosuav@gmail.com> - 2011-07-05 10:11 +1000
      Re: Anyone want to critique this program? Ben Finney <ben+python@benfinney.id.au> - 2011-07-04 07:37 +1000

csiph-web