Github里有CP用的AI代码,里面找到一行:
#block the Users
#2016-10-09 version 1 by buxizao
#2016-11-10 version 2 by buxizao
import AIwatch, os
comment = AIwatch.getcomment()
......
if comment.find('考试')!=-1:
Username = AIwatch.getusername()
os.chmod(Username, denied)
......
会自动搜寻关键词,然后设置权限关进小黑屋这样