http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net
全部博文(214)
发布时间:2011-10-11 20:19:56
"""A collection of string operations (most are no longer used).Warning: most of the code you see here isn't normally used nowadays.Beginning with Python 1.6, many of these functions are implemented asmethods on the standard string object. They used to be implemented bya built-in module call.........【阅读全文】
发布时间: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 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..........【阅读全文】