On Thu, 10 Aug 2006 10:13:14 -0400
Jim Jewett <[EMAIL PROTECTED]> wrote:

#> >    seq = seq + pad * (min_length- len(seq))
#> 
#> Typically, if I need to pad a sequence to a minimum length, I really
#> need it to be a specific length.  Having it already be too long is
#> likely to cause problems later.  So I really do prefer the explicit
#> version.

Well, for whatever it is worth, if I pad the data to present it in a
readable form I *most definitely* do not want values to become
truncated just because they turn out to be bigger than I originally
expected.

An ugly result is worse than nice result, but still better than wrong
result.

-- 
 Best wishes,
   Slawomir Nowaczyk
     ( [EMAIL PROTECTED] )

All I want is a warm bed, and a kind word, and unlimited power.

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to