pep8, typo, better display or err message(\n)
Better error message.
pep8 and fix in python 3 (mixed tab/spaces)
Merge pull request #1926 from nouiz/err

Better error when missing inputs.