inout module is in https://github.com/ddjokic/Python-Bin/inout.py