numpy and scipy are 3rd party libs. After the ``__future__`` imports should go a blank line. The ``sys`` and ``os.path`` imports should be part of the block with the other stdlib imports.