s = ' qazwsx '

# How are these different?
print s.strip()
print str.strip(s)

Do string objects all have the attribute strip()? If so, why is 
str.strip() needed? Really, I'm just curious... there's a lot  don't 
fully understand :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to