回复: Columnize in module "cmd"

2011-12-19 Thread Tom Zhou
___ 发件人: Ian Kelly 收件人: Tom Zhou 抄送: "python-list@python.org" 发送日期: 2011年12月19日, 星期一, 下午 7:35 主题: Re: Columnize in module "cmd" On Mon, Dec 19, 2011 at 7:53 PM, Tom Zhou wrote: > Hi~ alls > recently, i focus on the module "cmd", and find some conf

Columnize in module "cmd"

2011-12-19 Thread Tom Zhou
Hi~ alls recently, i focus on the module "cmd", and find some confused things-- the function named "columnize". Why we need a multiloop as "for nrows ..         for col ..                    for row.." ?? i think we can make a easier method, for example, first, find out the maxlen str in list, an