vbgunz wrote:
> to throw fire on the fuel (:P), you can get the value back to an
> in-place mutable change with a single expression...
> 
> mylist = [2,3,4,1]
> print mylist.sort() or mylist
> 
> might not be too pythonic or maybe it is. I guess depends on what side
> of the glass you might wish to view the solution :)

Anyway, please do us a favor : avoid using such a thing in production
code !-)



-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to