I already knew mostly everything in it (Time to switch to a new language!) but here's two that I didn't know:<p>1.<p><pre><code> from __future__ import braces
</code></pre>
Use {} to delimit scope!<p>2.<p><pre><code> try:
import readline
except ImportError:
print "Unable to load readline module."
else:
import rlcompleter
readline.parse_and_bind("tab: complete")
</code></pre>
Used to use [tab]-completion in terminal. One could correctly argue that using iPython would be smarter.. but sometime you are working remotely and don't want to get out of the terminal and install, etc.