Netkiller 写道:
> Netkiller 写道:
>
> > #!/usr/bin/python
> > # -*- coding: utf-8 -*-
> > """
> > Project: Network News Transport Protocol Server Program
> > Description:
> > 基于数据库的新闻组,实现BBS前端使用NNTP协议来访问贴子
>
>
Database SQL Scri
Netkiller 写道:
> #!/usr/bin/python
> # -*- coding: utf-8 -*-
> """
> Project: Network News Transport Protocol Server Program
> Description:
> 基于数据库的新闻组,实现BBS前端使用NNTP协议来访问贴子
import sys,re
import MySQLdb
class NewsDB:
conn = None
cursor = None
listinfo/python-chinese
-
"""
import sys
import socket
import threading
import time
import asyncore, asynchat
import string, StringIO, re
#from netkiller import *
#import testMessages
from messages import Me