This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
# -*- coding:utf-8 -*- | |
# 出处 酷 壳 – CoolShell.cn | |
# http://coolshell.cn/articles/1480.html#more-1480 | |
# 如果你只想让这个HTTP服务器服务于本地环境,那么,你需要定制一下你的Python的程序,下面是一个示例: | |
import sys | |
import BaseHTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
HandlerClass = SimpleHTTPRequestHandler | |
ServerClass = BaseHTTPServer.HTTPServer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ADMIN save quit msg part me join set mode | |
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet | |
unban ban | |
ANNOUNCE announce | |
CALC py c | |
CLOCK settz settimeformat getchanneltz t gettz |