跳转到主要内容

章节Python 官方文档

Tutorial

17 页更新于 3 天前

开始阅读

本章内容17

  1. 01 Appendix Interactive Mode There are two variants of the interactive REPL. The classic basic interpreter is supporte... 3 天前
  2. 02 Whetting Your Appetite If you do much work on computers, eventually you find that there's some task you'd like to automate. For ex... 3 天前
  3. 03 Classes Classes provide a means of bundling data and functionality together. Creating a new class creates a new typ... 3 天前
  4. 04 More Control Flow Tools As well as the while statement just introduced, Python uses a few more that we will encounter in this chap... 3 天前
  5. 05 Data Structures This chapter describes some things you've learned about already in more detail, and adds some new things as... 3 天前
  6. 06 Errors and Exceptions Until now error messages haven't been more than mentioned, but if you have tried out the examples you have ... 3 天前
  7. 07 floatingpoint import math from fractions import Fraction Floating-Point Arithmetic: Issues and Limitations Floating-point... 3 天前
  8. 08 The Python Tutorial [!TIP] This tutorial is designed for programmers that are new to the Python language, not beginners who are... 3 天前
  9. 09 Input and output There are several ways to present the output of a program; data can be printed in a human-readable form, or... 3 天前
  10. 10 Interactive Input Editing and History Substitution Some versions of the Python interpreter support editing of the current input line and history substitution,... 3 天前
  11. 11 Using the Python Interpreter Invoking the Interpreter The Python interpreter is usually installed as |usr_local_bin_python_x_dot_y_liter... 3 天前
  12. 12 An Informal Introduction to Python In the following examples, input and output are distinguished by the presence or absence of prompts ( >>> a... 3 天前
  13. 13 Modules If you quit from the Python interpreter and enter it again, the definitions you have made (functions and va... 3 天前
  14. 14 Brief tour of the standard library Operating system interface The os module provides dozens of functions for interacting with the operating s... 3 天前
  15. 15 Brief tour of the standard library --- part II This second tour covers more advanced modules that support professional programming needs. These modules ra... 3 天前
  16. 16 Virtual Environments and Packages Introduction Python applications will often use packages and modules that don't come as part of the standar... 3 天前
  17. 17 What Now? Reading this tutorial has probably reinforced your interest in using Python --- you should be eager to appl... 3 天前