Is this a Python3 thing? On my machine even the earlier way of doing things used to import fine. But yeah, this way is much cleaner.