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


Groups > comp.lang.python > #17567 > unrolled thread

Re: 回复: Columnize in module "cmd"

Started byPeter Otten <__peter__@web.de>
First post2011-12-20 10:23 +0100
Last post2011-12-20 10:23 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: 回复: Columnize in module "cmd" Peter Otten <__peter__@web.de> - 2011-12-20 10:23 +0100

#17567 — Re: 回复: Columnize in module "cmd"

FromPeter Otten <__peter__@web.de>
Date2011-12-20 10:23 +0100
SubjectRe: 回复: Columnize in module "cmd"
Message-ID<mailman.3856.1324372974.27778.python-list@python.org>
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?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web