Yes, the first one avoid performing relative imports, and the second one avoid writing bytes literals under Python 2.