organize code and add utf-8 coding.
update delete.py docs.