http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net
发布时间:2011-10-11 14:34:11
"""Generic socket server classes.This module tries to capture the various aspects of defining a server:For socket-based servers:- address family: - AF_INET{,6}: IP (Internet Protocol) sockets (default)  .........【阅读全文】
发布时间:2011-10-10 21:24:01
15.5 非阻塞connect:Web客户程序 // web.h #include "unp.h" #define MAXFILES 20#define SERV "80" /* port number or service name */ struct file { char *f_name; /* filename */ char *f_host; /* hostname o.........【阅读全文】
发布时间:2011-10-10 17:43:36
r"""OS routines for Mac, NT, or Posix depending on what system we're on.This exports: - all functions from posix, nt, os2, mac, or ce, e.g. unlink, stat, etc. - os.path is one of the modules posixpath, ntpath, or macpath - os.name is 'posix', 'nt', 'os2', 'mac', 'ce' or 'r.........【阅读全文】
发布时间:2011-10-09 22:07:05
from nt import *import ntpath as path def removedirs(name): #删除目录直到目录非空,与平常所说的删除目录有点不一样 """removedirs(path) Super-rmdir; remove a leaf directory and all empty intermediate ones..........【阅读全文】