adjust
Diez B. Roggisch
deets at nospam.web.de
Tue Apr 24 07:10:38 EDT 2007
saif.shakeel at gmail.com wrote:
> Hi,
> How do i right adjust my output using python.I need a output
> something like this:
> DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E,
> 0x51,0x52,0x53,0x55,
> minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
> 2, 2, 1, 2, 1, 6, 3, 17, 1,
> maxlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1,
> 2, 2, 1, 2, 30, 6, 3, 17, 20
>
> I am printing from a list, and the values shld print below each id
> like shown.
> Thx
http://docs.python.org/lib/typesseq-strings.html
Diez
More information about the Python-list
mailing list