ignore vim's swap files
remove extra spaces
correct but dangerous on OS X (ish)

If you install from python.org and modify $PATH etc. you may not have
proper path settings to simply 'import Foundation' or other Apple
supplied modules.

Also, there may be incompatibilities when using python3.

Apple still ships 2.7.2.