06 2008 档案

posted @ 2008-06-18 11:54 CoderZh 阅读(3039) | 评论 (1) 编辑
摘要: 一、打开一个网页获取所有的内容[代码]二、获取Http头[代码]三、使用代理 1. 查看环境变量[代码] 2. 设置环境变量[代码] 3. 使用代理[代码]Python 天天美味系列(总)Python 天天美味(26) - __getattr__与__setattr__ Python 天天美味(27) - 网络编程起步(Socket发送消息) Python 天天美味(28) - urlopen P...阅读全文
posted @ 2008-06-07 17:03 CoderZh 阅读(1135) | 评论 (13) 编辑
摘要: 现在开始学习网络编程,先从简单的UDP协议发送消息开始。我们需要有接受消息的服务端程序(Server.py)和发送消息的客户端程序(Client)。一、服务端(Server.py) 服务端要做的事情是: 1. 创建一个Socket对象Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHigh...阅读全文
posted @ 2008-06-07 14:59 CoderZh 阅读(1295) | 评论 (10) 编辑
posted @ 2008-06-03 21:24 CoderZh 阅读(425) | 评论 (0) 编辑