nanshe/nanshe_learner.py: Use readlines not readline.