Wolfgang Strobl wrote:
> ...     for drive in string.letters[len(string.letters)/2:]:

Or better...
......    for drive in string.ascii_uppercase:

string.letters differ with locale, but Windows drives are always
only A-Z (right?) and just iterating over upper case (or lower)
seems more clear than to iterate over half of the sum of both...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to