Stackoverflow: Hidden features of Python

WOW, the top answers to this question are amazingly useful

One quick example
Instead of

  if x > 10 and x < 100:
       print "Match"

You can do.....

   if 10 < x < 100:
       print "Match!"

In my opinion, that's very snazzy.

http://stackoverflow.com/questions/101268/hidden-features-of-python