Chinaunix首页 | 论坛 | 博客
  • 博客访问: 303173
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间: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.........【阅读全文】

阅读(295) | 评论(0) | 转发(0)

发布时间: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)       .........【阅读全文】

阅读(371) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(650) | 评论(0) | 转发(0)

发布时间:2011-10-10 11:09:12

from nt import *def walk(top, topdown=True, onerror=None):          from os.path import join, isdir, islink    # We may not have read permission for top, in which case we can't    # get a list of the files the directory .........【阅读全文】

阅读(284) | 评论(0) | 转发(0)

发布时间: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..........【阅读全文】

阅读(294) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册