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 Inline if Statement print "Hello" if True else "World" >>> Hello Concatenations The last one is a pretty cool way to