Cheat Sheet: Writing Python 2-3 compatible code — Python-Future documentation Because this is usually where I end up when googling for this stuff.