Chinaunix首页 | 论坛 | 博客
  • 博客访问: 305729
  • 博文数量: 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 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)       .........【阅读全文】

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

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

阅读(321) | 评论(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.........【阅读全文】

阅读(654) | 评论(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 .........【阅读全文】

阅读(289) | 评论(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..........【阅读全文】

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

登录 注册