当前栏目:
社区首页
->
软件开发
->
脚本语言(Perl,Python,Ruby等)
转到:
在该栏目发表文章
•
社区后台管理
•
搜索
简明 Python 基础学习教程
作者:
keven
日期: 08-04-04, 17:46
MegaEntry
网络社区与信息交流平台!
版本:1.20
A Byte of
Python
Copyright © 2003-2005 Swaroop C H
简明
Python
教程
《简明
Python
教程》为 "A Byte of
Python
" 的唯一指定简体中文译本,版权 © 2005 沈洁元
本书依照
创作公用约定(署名-非派生作品-非商业用途)
发布。
概要
无论您刚接触电脑还是一个有经验的程序员,本书都将有助您学习使用
Python
语言。
python
_cn/chinese/pr01.html ">前言
python
_cn/chinese/pr01.html#s01 ">本书的读者
python
_cn/chinese/pr01s02.html ">本书的由来
python
_cn/chinese/pr01s03.html ">本书目前的状况
python
_cn/chinese/pr01s04.html ">官方网站
python
_cn/chinese/pr01s05.html ">约定条款
python
_cn/chinese/pr01s06.html ">欢迎给我反馈
python
_cn/chinese/pr01s07.html ">值得思考的一些东西
1.
python
_cn/chinese/ch01.html ">介绍
python
_cn/chinese/ch01.html#s01 ">简介
python
_cn/chinese/ch01s02.html ">
Python
的特色
python
_cn/chinese/ch01s02.html#summary ">概括
python
_cn/chinese/ch01s03.html ">为什么不使用Perl?
python
_cn/chinese/ch01s04.html ">程序员的话
2.
python
_cn/chinese/ch02.html ">安装
Python
python
_cn/chinese/ch02.html#s01 ">Linux和BSD用户
python
_cn/chinese/ch02s02.html ">Windows®用户
python
_cn/chinese/ch02s03.html ">概括
3.
python
_cn/chinese/ch03.html ">最初的步骤
python
_cn/chinese/ch03.html#s01 ">简介
python
_cn/chinese/ch03s02.html ">使用带提示符的解释器
python
_cn/chinese/ch03s03.html ">挑选一个编辑器
python
_cn/chinese/ch03s04.html ">使用源文件
python
_cn/chinese/ch03s04.html#output ">输出
python
_cn/chinese/ch03s04.html#how ">它如何工作
python
_cn/chinese/ch03s05.html ">可执行的
Python
程序
python
_cn/chinese/ch03s06.html ">获取帮助
python
_cn/chinese/ch03s07.html ">概括
4.
python
_cn/chinese/ch04.html ">基本概念
python
_cn/chinese/ch04.html#s01 ">字面意义上的常量
python
_cn/chinese/ch04s02.html ">数
python
_cn/chinese/ch04s03.html ">字符串
python
_cn/chinese/ch04s04.html ">变量
python
_cn/chinese/ch04s05.html ">标识符的命名
python
_cn/chinese/ch04s06.html ">数据类型
python
_cn/chinese/ch04s07.html ">对象
python
_cn/chinese/ch04s07.html#output ">输出
python
_cn/chinese/ch04s07.html#how ">它如何工作
python
_cn/chinese/ch04s08.html ">逻辑行与物理行
python
_cn/chinese/ch04s09.html ">缩进
python
_cn/chinese/ch04s10.html ">概括
5.
python
_cn/chinese/ch05.html ">运算符与表达式
python
_cn/chinese/ch05.html#s01 ">简介
python
_cn/chinese/ch05s02.html ">运算符
python
_cn/chinese/ch05s03.html ">运算符优先级
python
_cn/chinese/ch05s03.html#order ">计算顺序
python
_cn/chinese/ch05s03.html#associativity ">结合规律
python
_cn/chinese/ch05s04.html ">表达式
python
_cn/chinese/ch05s04.html#using ">使用表达式
python
_cn/chinese/ch05s05.html ">概括
6.
python
_cn/chinese/ch06.html ">控制流
python
_cn/chinese/ch06.html#s01 ">简介
python
_cn/chinese/ch06s02.html ">if语句
python
_cn/chinese/ch06s02.html#using ">使用if语句
python
_cn/chinese/ch06s02.html#how ">它如何工作
python
_cn/chinese/ch06s03.html ">while语句
python
_cn/chinese/ch06s03.html#using ">使用while语句
python
_cn/chinese/ch06s04.html ">for循环
python
_cn/chinese/ch06s04.html#using ">使用for语句
python
_cn/chinese/ch06s05.html ">break语句
python
_cn/chinese/ch06s05.html#using ">使用break语句
python
_cn/chinese/ch06s06.html ">continue语句
python
_cn/chinese/ch06s06.html#using ">使用continue语句
python
_cn/chinese/ch06s07.html ">概括
7.
python
_cn/chinese/ch07.html ">函数
python
_cn/chinese/ch07.html#s01 ">简介
python
_cn/chinese/ch07.html#defining ">定义函数
python
_cn/chinese/ch07s02.html ">函数形参
python
_cn/chinese/ch07s02.html#using ">使用函数形参
python
_cn/chinese/ch07s03.html ">局部变量
python
_cn/chinese/ch07s03.html#local ">使用局部变量
python
_cn/chinese/ch07s03.html#global ">使用global语句
python
_cn/chinese/ch07s04.html ">默认参数值
python
_cn/chinese/ch07s04.html#using ">使用默认参数值
python
_cn/chinese/ch07s05.html ">关键参数
python
_cn/chinese/ch07s05.html#using ">使用关键参数
python
_cn/chinese/ch07s06.html ">return语句
python
_cn/chinese/ch07s06.html#using ">使用字面意义上的语句
python
_cn/chinese/ch07s07.html ">DocStrings
python
_cn/chinese/ch07s07.html#using ">使用DocStrings
python
_cn/chinese/ch07s08.html ">概括
8.
python
_cn/chinese/ch08.html ">模块
python
_cn/chinese/ch08.html#s01 ">简介
python
_cn/chinese/ch08.html#using ">使用sys模块
python
_cn/chinese/ch08s02.html ">字节编译的.pyc文件
python
_cn/chinese/ch08s03.html ">from..import语句
python
_cn/chinese/ch08s04.html ">模块的__name__
python
_cn/chinese/ch08s04.html#using ">使用模块的__name__
python
_cn/chinese/ch08s05.html ">制造你自己的模块
python
_cn/chinese/ch08s05.html#creating ">创建你自己的模块
python
_cn/chinese/ch08s05.html#from ">from..import
python
_cn/chinese/ch08s06.html ">dir()函数
python
_cn/chinese/ch08s06.html#using ">使用dir函数
python
_cn/chinese/ch08s07.html ">概括
9.
python
_cn/chinese/ch09.html ">数据结构
python
_cn/chinese/ch09.html#s01 ">简介
python
_cn/chinese/ch09s02.html ">列表
python
_cn/chinese/ch09s02.html#quick ">对象与类的快速入门
python
_cn/chinese/ch09s02.html#using ">使用列表
python
_cn/chinese/ch09s03.html ">元组
python
_cn/chinese/ch09s03.html#using ">使用元组
python
_cn/chinese/ch09s03.html#tuples ">元组与打印语句
python
_cn/chinese/ch09s04.html ">字典
python
_cn/chinese/ch09s04.html#using ">使用字典
python
_cn/chinese/ch09s05.html ">序列
python
_cn/chinese/ch09s05.html#using ">使用序列
python
_cn/chinese/ch09s06.html ">参考
python
_cn/chinese/ch09s06.html#objects ">对象与参考
python
_cn/chinese/ch09s07.html ">更多字符串的内容
python
_cn/chinese/ch09s07.html#string ">字符串的方法
python
_cn/chinese/ch09s08.html ">概括
10.
python
_cn/chinese/ch10.html ">解决问题――编写一个
Python
脚本
python
_cn/chinese/ch10.html#s01 ">问题
python
_cn/chinese/ch10s02.html ">解决方案
python
_cn/chinese/ch10s02.html#first ">版本一
python
_cn/chinese/ch10s02.html#second ">版本二
python
_cn/chinese/ch10s02.html#third ">版本三
python
_cn/chinese/ch10s02.html#fourth ">版本四
python
_cn/chinese/ch10s02.html#more ">进一步优化
python
_cn/chinese/ch10s03.html ">软件开发过程
python
_cn/chinese/ch10s04.html ">概括
11.
python
_cn/chinese/ch11.html ">面向对象的编程
python
_cn/chinese/ch11.html#s01 ">简介
python
_cn/chinese/ch11s02.html ">self
python
_cn/chinese/ch11s03.html ">类
python
_cn/chinese/ch11s03.html#creating ">创建一个类
python
_cn/chinese/ch11s04.html ">对象的方法
python
_cn/chinese/ch11s04.html#using ">使用对象的方法
python
_cn/chinese/ch11s05.html ">__init__方法
python
_cn/chinese/ch11s05.html#using ">使用__init__方法
python
_cn/chinese/ch11s06.html ">类与对象的变量
python
_cn/chinese/ch11s06.html#using ">使用类与对象的变量
python
_cn/chinese/ch11s07.html ">继承
python
_cn/chinese/ch11s07.html#using ">使用继承
python
_cn/chinese/ch11s08.html ">概括
12.
python
_cn/chinese/ch12.html ">输入/输出
python
_cn/chinese/ch12.html#s01 ">文件
python
_cn/chinese/ch12.html#using ">使用文件
python
_cn/chinese/ch12s02.html ">储存器
python
_cn/chinese/ch12s02.html#pickling ">储存与取储存
python
_cn/chinese/ch12s03.html ">概括
13.
python
_cn/chinese/ch13.html ">异常
python
_cn/chinese/ch13.html#s01 ">错误
python
_cn/chinese/ch13s02.html ">try..except
python
_cn/chinese/ch13s02.html#handling ">处理异常
python
_cn/chinese/ch13s03.html ">引发异常
python
_cn/chinese/ch13s03.html#how ">如何引发异常
python
_cn/chinese/ch13s04.html ">try..finally
python
_cn/chinese/ch13s04.html#using ">使用finally
python
_cn/chinese/ch13s05.html ">概括
14.
python
_cn/chinese/ch14.html ">
Python
标准库
python
_cn/chinese/ch14.html#s01 ">简介
python
_cn/chinese/ch14s02.html ">sys模块
python
_cn/chinese/ch14s02.html#command ">命令行参数
python
_cn/chinese/ch14s02.html#more ">更多sys的内容
python
_cn/chinese/ch14s03.html ">os模块
python
_cn/chinese/ch14s04.html ">概括
15.
python
_cn/chinese/ch15.html ">更多
Python
的内容
python
_cn/chinese/ch15.html#s01 ">特殊的方法
python
_cn/chinese/ch15s02.html ">单语句块
python
_cn/chinese/ch15s03.html ">列表综合
python
_cn/chinese/ch15s03.html#using ">使用列表综合
python
_cn/chinese/ch15s04.html ">在函数中接收元组和列表
python
_cn/chinese/ch15s05.html ">lambda形式
python
_cn/chinese/ch15s05.html#using ">使用lambda形式
python
_cn/chinese/ch15s06.html ">exec和eval语句
python
_cn/chinese/ch15s07.html ">assert语句
python
_cn/chinese/ch15s08.html ">repr函数
python
_cn/chinese/ch15s09.html ">概括
16.
python
_cn/chinese/ch16.html ">接下来学习什么?
python
_cn/chinese/ch16.html#s01 ">图形软件
python
_cn/chinese/ch16.html#summary ">GUI工具概括
python
_cn/chinese/ch16s02.html ">探索更多内容
python
_cn/chinese/ch16s03.html ">概括
A.
python
_cn/chinese/apa.html ">自由/开放源码软件(FLOSS)
B.
python
_cn/chinese/apb.html ">关于本书
python
_cn/chinese/apb.html#s01 ">后记
python
_cn/chinese/apbs02.html ">关于作者
python
_cn/chinese/apbs03.html ">关于译者
python
_cn/chinese/apbs04.html ">关于简体中文译本
C.
python
_cn/chinese/apc.html ">修订记录
python
_cn/chinese/apc.html#s01 ">时间表
python
_cn/chinese/apcs02.html ">术语表
表格
5.1
python
_cn/chinese/ch05s02.html#t51 ">运算符与它们的用法
5.2
python
_cn/chinese/ch05s03.html#t52 ">运算符优先级
15.1
python
_cn/chinese/ch15.html#t151 ">一些特殊的方法
例子
3.1
python
_cn/chinese/ch03s02.html#e31 ">使用带提示符的
Python
解释器
3.2
python
_cn/chinese/ch03s04.html#e32 ">使用源文件
4.1
python
_cn/chinese/ch04s07.html#e41 ">使用变量和字面意义上的常量
5.1
python
_cn/chinese/ch05s04.html#using ">使用表达式
6.1
python
_cn/chinese/ch06s02.html#e61 ">使用if语句
6.2
python
_cn/chinese/ch06s03.html#e62 ">使用while语句
6.3
python
_cn/chinese/ch06s04.html#e63 ">使用for语句
6.4
python
_cn/chinese/ch06s05.html#e64 ">使用break语句
6.5
python
_cn/chinese/ch06s06.html#e65 ">使用continue语句
7.1
python
_cn/chinese/ch07.html#e71 ">定义函数
7.2
python
_cn/chinese/ch07s02.html#e72 ">使用函数形参
7.3
python
_cn/chinese/ch07s03.html#e73 ">使用局部变量
7.4
python
_cn/chinese/ch07s03.html#e74 ">使用global语句
7.5
python
_cn/chinese/ch07s04.html#e75 ">使用默认参数值
7.6
python
_cn/chinese/ch07s05.html#e76 ">使用关键参数
7.7
python
_cn/chinese/ch07s06.html#e77 ">使用字面意义上的语句
7.8
python
_cn/chinese/ch07s07.html#e78 ">使用DocStrings
8.1
python
_cn/chinese/ch08.html#e81 ">使用sys模块
8.2
python
_cn/chinese/ch08s04.html#e82 ">使用模块的__name__
8.3
python
_cn/chinese/ch08s05.html#e83 ">如何创建你自己的模块
8.4
python
_cn/chinese/ch08s06.html#e84 ">使用dir函数
9.1
python
_cn/chinese/ch09s02.html#e91 ">使用列表
9.2
python
_cn/chinese/ch09s03.html#e92 ">使用元组
9.3
python
_cn/chinese/ch09s03.html#e93 ">使用元组输出
9.4
python
_cn/chinese/ch09s04.html#e94 ">使用字典
9.5
python
_cn/chinese/ch09s05.html#e95 ">使用序列
9.6
python
_cn/chinese/ch09s06.html#e96 ">对象与参考
10.1
python
_cn/chinese/ch10s02.html#e101 ">备份
脚本
――版本一
10.2
python
_cn/chinese/ch10s02.html#e102 ">备份
脚本
――版本二
10.3
python
_cn/chinese/ch10s02.html#e103 ">备份
脚本
――版本三(不工作!)
10.4
python
_cn/chinese/ch10s02.html#e104 ">备份
脚本
――版本四
11.1
python
_cn/chinese/ch11s03.html#e111 ">创建一个类
11.2
python
_cn/chinese/ch11s04.html#e112 ">使用对象的方法
11.3
python
_cn/chinese/ch11s05.html#e113 ">使用__init__方法
11.4
python
_cn/chinese/ch11s06.html#e114 ">使用类与对象的变量
11.5
python
_cn/chinese/ch11s07.html#e115 ">使用继承
12.1
python
_cn/chinese/ch12.html#e121 ">使用文件
12.2
python
_cn/chinese/ch12s02.html#e122 ">储存与取储存
13.1
python
_cn/chinese/ch13s02.html#e131 ">处理异常
13.2
python
_cn/chinese/ch13s03.html#e132 ">如何引发异常
14.1
python
_cn/chinese/ch14s02.html#e141 ">使用sys.argv
15.1
python
_cn/chinese/ch15s03.html#e151 ">使用列表综合
15.2
python
_cn/chinese/ch15s05.html#e152 ">使用lambda形式
上一篇:Python完全新手教程
下一篇:学习python (2)
回复
标题:
Javascript 被浏览器屏蔽,请检查浏览器设置.
关于MegaEntry
申明
联系我们
沪ICP备06021001号
强烈建议采用IE 6.0或以上的浏览器