没有合适的资源?快使用搜索试试~ 我知道了~
Python库参考手册中文版
3星 · 超过75%的资源 需积分: 50 109 下载量 121 浏览量
2013-12-02
13:23:41
上传
评论 2
收藏 92KB PDF 举报
温馨提示
试读
45页
Python库参考手册,中文版的 里面包括各个模块介绍,还有例子,相当于手把手教程
资源推荐
资源详情
资源评论
Python库参考手册(Python Library
Reference)
Release 2.3.3
Guido van Rossum
Fred L. Drake, Jr., editor
翻译团队: 见文末名单
译文最后修改: 2004年3月22日
PythonLabs
Email: docs@python.org
Copyright c° 2001, 2002, 2003 Python Software Foundation. All rights reserved.
Copyright c° 2000 BeOpen.com. All rights reserved.
Copyright c° 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright c° 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
See the end of this document for complete license and permissions information.
详细版权及使用许可的资料见本文的最后部份.
Python is an extensible, interpreted, object-oriented programming language. It supports a wide range of applica-
tions, from simple text processing scripts to interactive Web browsers.
Python 是一种可扩展的, 即译式, 面向对象规格的编程语言. 它能应用在极广泛的地方, 从简单的文字处理
工作到交互式的网页浏览器.
While the Python Reference Manual describes the exact syntax and semantics of the language, it does not describe
the standard library that is distributed with the language, and which greatly enhances its immediate usability.
This library contains built-in modules (written in C) that provide access to system functionality such as file I/O
that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide
standardized solutions for many problems that occur in everyday programming. Some of these modules are
explicitly designed to encourage and enhance the portability of Python programs.
Python
语言参考手册
中精确地描述了Python 语言的句法及语义. 然而语言参考手册中没有提到Python 所
附带功能强大的标准库. 这个函式库大大地增强了Python 的实用性. 其中包括C 写的内建模组, 提供介面
让程式进行操作系统层次的工作, 例如档案的输出输入; 同时也有以Python 语言本身编写的模组, 为实际
编程时常遇的问题提供标准解决方案. 这类模组有的经过特别设计以便Python 程式在跨平台的情况下运
行无误.
This library reference manual documents Python’s standard library, as well as many optional library modules
(which may or may not be available, depending on whether the underlying platform supports them and on the
configuration choices made at compile time). It also documents the standard types of the language and its built-in
functions and exceptions, many of which are not or incompletely documented in the Reference Manual.
本参考手册罗列并说明了Python 标准库的各种功能, 以及许多非核心的模组(按不同的操作系统和编译时
的设置而定, 不是每台机上的Python 都能用这些模组.) 本手册同时记载了Python 语言所有的标准数据类
型, 内建函数, 异常类, 这些在参考手册中被忽略了或只是扼要的提过一下.
This manual assumes basic knowledge about the Python language. For an informal introduction to Python, see the
Python Tutorial; the Python Reference Manual remains the highest authority on syntactic and semantic questions.
Finally, the manual entitled Extending and Embedding the Python Interpreter describes how to add new extensions
to Python and how to embed it in other applications.
本手册的读者要对Python 有基本的认识. 初学者应该从Python
指南
开始. 至于Python
语言参考手册
则是
该语言的语法和语义问题上的权威阐释. 最后
扩展或嵌入
Python
解释器
一文解说了如何在Python 中加入
新的扩展模组; 以及怎样把Python 解释器嵌入到其他的应用程式中.
目录
第第第一一一章章章 内内内建建建对对对象象象Built-In Objects 1
第第第二二二章章章 Python运运运行行行时时时服服服务务务Python Runtime Services 3
2.1 main — 顶层脚本的运行环境Top-level script environment . . . . . . . . . . . . . . . . 3
第第第三三三章章章 其其其他他他各各各类类类服服服务务务Miscellaneous Services 5
第第第四四四章章章 普普普遍遍遍的的的操操操作作作系系系统统统服服服务务务Generic Operating System Services 7
第第第五五五章章章 可可可选选选配配配的的的操操操作作作系系系统统统服服服务务务Optional Operating System Services 9
第第第六六六章章章 互互互联联联网网网通通通讯讯讯协协协议议议及及及其其其支支支援援援Internet Protocols and Support 11
第第第七七七章章章 互互互联联联网网网资资资料料料处处处理理理Internet Data Handling 13
7.1 base64 — 编码和解码MIME Base64数据Encode and decode MIME base64 data . . . . . . . 13
7.2 xml.dom — The Document Object Model 文档对象模式API . . . . . . . . . . . . . . . . . . 14
第第第八八八章章章 多多多媒媒媒体体体服服服务务务Multimedia Services 25
第第第九九九章章章 加加加密密密服服服务务务Cryptographic Services 27
第第第十十十章章章 Python 语语语言言言服服服务务务Python Language Services 29
第第第十十十一一一章章章SGI IRIX 特特特定定定服服服务务务SGI IRIX Specific Services 31
11.1 al — SGI 的音讯功能Audio functions on the SGI . . . . . . . . . . . . . . . . . . . . . . . . . 31
11.2 AL — al 模组中用到的常数。Constants used with the al module . . . . . . . . . . . . . . . . 33
第第第十十十二二二章章章SunOS 特特特定定定服服服务务务SunOS Specific Services 35
第第第十十十三三三章章章MS Windows 有有有关关关的的的服服服务务务MS Windows Services 37
附附附录录录 A 翻翻翻译译译团团团队队队 39
i
剩余44页未读,继续阅读
灿烂世界
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 什么是移动应用开发-关于移动应用开发的相关介绍
- 第二组汇报 PPT.pptx
- 什么是大数据开发-相关介绍-关于大数据开发的相关介绍
- 什么是软件测试-相关介绍-关于软件测试的相关介绍
- 前端开发-什么是前端开发-关于前端开发的一些相关介绍
- Sora AI-关于文生视频的使用场景说明
- suno AI文生视频的相关教程和介绍使用
- 什么是后端开发-关于后端开发的一些小介绍分享
- Jurassic Pack Vol. II Dinosaurs 侏罗纪包卷恐龙二号Unity游戏模型资源unitypackage
- Jurassic Pack Vol. III Dinosaurs 侏罗纪包卷恐龙三号Unity游戏模型资源unitypackag
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页