Add function learn script and modify the IOTest.py for file iostream