Python Shortcuts for the Python Beginner - Max Burstein's Blog: "Python Shortcuts for the Python Beginner (Posted on January 26th, 2013)
The following are just a collection of some useful shortcuts and tools I've found in Python over the years. Hopefully you find them helpful.
Swapping Variables
x = 6
y = 5
x, y = y, x
print x
>>> 5
print y
>>> 6"
'via Blog this'