Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17567
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:module': 0.04; 'worse': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'output': 0.10; 'received:dip.t-dialin.net': 0.16; 'received:t-dialin.net': 0.16; 'wrote:': 0.18; 'slightly': 0.19; 'maybe': 0.21; 'appropriate': 0.22; 'from:addr:web.de': 0.23; "list's": 0.23; 'produces': 0.23; 'string': 0.24; 'mode': 0.25; 'column': 0.28; 'delay': 0.29; 'usually': 0.31; 'thanks': 0.31; 'implement': 0.32; 'header:X-Complaints-To:1': 0.33; 'there': 0.33; 'to:addr:python- list': 0.34; 'list.': 0.35; 'something': 0.35; 'similar': 0.36; 'skip:" 10': 0.37; 'but': 0.37; 'another': 0.37; 'think': 0.37; 'not,': 0.37; 'using': 0.38; 'replace': 0.38; 'received:org': 0.38; 'easier': 0.38; 'being': 0.39; 'why': 0.39; 'to:addr:python.org': 0.40; 'your': 0.61; 'maximum': 0.66; 'subjectcharset:utf-8': 0.73; 'hand,': 0.76; 'commands.': 0.84; 'reply!': 0.84; 'subject::': 0.87 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Peter Otten <__peter__@web.de> |
| Subject | Re: 回复: Columnize in module "cmd" |
| Date | Tue, 20 Dec 2011 10:23:05 +0100 |
| Organization | None |
| References | <1324349593.51908.YahooMailNeo@web92411.mail.cnh.yahoo.com> <CALwzidnMH4a_x0a-LRHaHeBp=4kFQY-9-hpsDhO7U2SWnnOtnQ@mail.gmail.com> <1324360192.3956.YahooMailNeo@web92409.mail.cnh.yahoo.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Gmane-NNTP-Posting-Host | p5084b5c4.dip.t-dialin.net |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3856.1324372974.27778.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1324372974 news.xs4all.nl 6939 [2001:888:2000:d::a6]:45013 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:17567 |
Show key headers only | View raw
Tom Zhou wrote: > Thanks for your reply! But i think using "for@for@for" to find out the > appropriate column size is also another waste, on the other hand, the > length of the list's single string is similar with each other usually, so > the maximum maybe is the mode of the list. There are usually only a few commands. Do you see an annoying delay before the commands are printed? If not, why bother to replace something that works and produces a reasonable output with something that produces slightly worse output in exchange for being easier to implement and perhaps a tad faster?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: 回复: Columnize in module "cmd" Peter Otten <__peter__@web.de> - 2011-12-20 10:23 +0100
csiph-web