Great work! Thanks for sharing.<p>When I ask users to input some secret strings like passwords, tokens, etc..., I use getpass (<a href="https://docs.python.org/2/library/getpass.html" rel="nofollow">https://docs.python.org/2/library/getpass.html</a>). It's available for both Pyhton 2 and 3.<p>By this way, if a bad person look at the terminal history he won't find clear text credentials passed as scripts arguments :)