Modulate stdout of lakeshore.py