According to [PEP8](http://legacy.python.org/dev/peps/pep-0008/#imports) the stdlib imports should be above third-party imports.