Python 入门指南
- H8_619715了解作者
- 1.2MB文件大小
- zip文件格式
- 0收藏次数
- VIP专享资源类型
- 0下载次数
- 2022-06-13 18:04上传日期
Python 入门指南

Python 入门指南.zip
- Python 入门指南
- 2. 使用 Python 解释器.html29.6KB
- 8. 错误和异常.html53.7KB
- 3. Python 简介_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 16. 附录.html27.2KB
- 10. Python 标准库概览_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 16. 附录_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 1. 开胃菜_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 15. 浮点数算法:争议和限制_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 11. 标准库浏览 – Part II_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 1. 开胃菜.html22.8KB
- 9. 类.html94.1KB
- 4. 深入 Python 流程控制_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 13. 接下来?_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 12. 虚拟环境和包_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 6. 模块_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 9. 类_files
- modernizr.min.js15.1KB
- theme.js1.6KB
- jquery.js93.5KB
- underscore.js11.9KB
- theme.css86.9KB
- css9.1KB
- doctools.js8KB
- 10. Python 标准库概览.html47.6KB
- 5. 数据结构.html87.4KB
- 14. 交互式输入行编辑历史回溯.html21.7KB
- 14. 交互式输入行编辑历史回溯_files
- modernizr.min.js15.1KB
- theme.js1.6KB
内容介绍
<!DOCTYPE html>
<!-- saved from url=(0053)http://www.pythondoc.com/pythontutorial3/classes.html -->
<html class=" js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" lang="en"><!--<![endif]--><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>9. 类 — Python tutorial 3.5.2 documentation</title>
<link href="./9. 类_files/css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="./9. 类_files/theme.css" type="text/css">
<link rel="top" title="Python tutorial 3.5.2 documentation" href="http://www.pythondoc.com/pythontutorial3/index.html">
<link rel="next" title="10. Python 标准库概览" href="http://www.pythondoc.com/pythontutorial3/stdlib.html">
<link rel="prev" title="8. 错误和异常" href="http://www.pythondoc.com/pythontutorial3/errors.html">
<script src="./9. 类_files/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="http://www.pythondoc.com/pythontutorial3/index.html" class="fa fa-home" rel='nofollow' onclick='return false;'> Python tutorial</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="http://www.pythondoc.com/pythontutorial3/search.html" method="get">
<input type="text" name="q" placeholder="Search docs">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/appetite.html" rel='nofollow' onclick='return false;'>1. 开胃菜</a></li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/interpreter.html" rel='nofollow' onclick='return false;'>2. 使用 Python 解释器</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/interpreter.html#tut-invoking" rel='nofollow' onclick='return false;'>2.1. 调用 Python 解释器</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/interpreter.html#tut-interp" rel='nofollow' onclick='return false;'>2.2. 解释器及其环境</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/introduction.html" rel='nofollow' onclick='return false;'>3. Python 简介</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/introduction.html#tut-calculator" rel='nofollow' onclick='return false;'>3.1. 将 Python 当做计算器</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/introduction.html#tut-firststeps" rel='nofollow' onclick='return false;'>3.2. 编程的第一步</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html" rel='nofollow' onclick='return false;'>4. 深入 Python 流程控制</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#if" rel='nofollow' onclick='return false;'>4.1. if 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#for" rel='nofollow' onclick='return false;'>4.2. for 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#range" rel='nofollow' onclick='return false;'>4.3. range() 函数</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#break-continue-else" rel='nofollow' onclick='return false;'>4.4. break 和 continue 语句, 以及循环中的 else 子句</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#pass" rel='nofollow' onclick='return false;'>4.5. pass 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#tut-functions" rel='nofollow' onclick='return false;'>4.6. 定义函数</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#tut-defining" rel='nofollow' onclick='return false;'>4.7. 深入 Python 函数定义</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/controlflow.html#tut-codingstyle" rel='nofollow' onclick='return false;'>4.8. 插曲:编码风格</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html" rel='nofollow' onclick='return false;'>5. 数据结构</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-morelists" rel='nofollow' onclick='return false;'>5.1. 关于列表更多的内容</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#del" rel='nofollow' onclick='return false;'>5.2. del 语句</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-tuples" rel='nofollow' onclick='return false;'>5.3. 元组和序列</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-sets" rel='nofollow' onclick='return false;'>5.4. 集合</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-dictionaries" rel='nofollow' onclick='return false;'>5.5. 字典</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-loopidioms" rel='nofollow' onclick='return false;'>5.6. 循环技巧</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-conditions" rel='nofollow' onclick='return false;'>5.7. 深入条件控制</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/datastructures.html#tut-comparing" rel='nofollow' onclick='return false;'>5.8. 比较序列和其它类型</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/modules.html" rel='nofollow' onclick='return false;'>6. 模块</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/modules.html#tut-moremodules" rel='nofollow' onclick='return false;'>6.1. 深入模块</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/modules.html#tut-standardmodules" rel='nofollow' onclick='return false;'>6.2. 标准模块</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/modules.html#dir" rel='nofollow' onclick='return false;'>6.3. dir() 函数</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/modules.html#tut-packages" rel='nofollow' onclick='return false;'>6.4. 包</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/inputoutput.html" rel='nofollow' onclick='return false;'>7. 输入和输出</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/inputoutput.html#tut-formatting" rel='nofollow' onclick='return false;'>7.1. 格式化输出</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/inputoutput.html#tut-files" rel='nofollow' onclick='return false;'>7.2. 文件读写</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/errors.html" rel='nofollow' onclick='return false;'>8. 错误和异常</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/errors.html#tut-syntaxerrors" rel='nofollow' onclick='return false;'>8.1. 语法错误</a></li>
<li class="toctree-l2"><a class="reference internal" href="http://www.pythondoc.com/pythontutorial3/errors.html#tut
评论



相关推荐
最新资源