modify test001.py and add write.py