Not for this PR but in the future have a look at:

1. Using http://docs.python.org/2.7/library/argparse.html
2. Writing a class that holds the importing code
3. Set a `stdout` attribute on that that points at `sys.stdout` in production and to a `StringIO()` object for testing.
4. Write a test that tests the output written to the class' `stdout` value.