自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

翻译 005_Data Structures_数据结构

Data StructuresThis chapter describes some things you’ve learned about already in more detail, and adds some new things as well.5.1. More on ListsThe list data type has some more methods. Here are all of the methods of list objects:list.append(x)Add.

2021-07-11 12:12:22 671

翻译 004_More Control Flow Tools_流程控制语句

More Control Flow Tools 流程控制语句Besides the while statement just introduced,除了while语句Python knows the usual control flow statements known from other languages, with some twists.Python还拥有在其他语言里常见的控制语句,以及一些好玩的语句4.1. if Statements if语句Perhaps the most we.

2021-06-21 19:00:40 521

翻译 003_An Informal Introduction to Python_Python简介

In the following examples,以下的示例中input and output are distinguished by the presence or absence of prompts (>>> and …):输入和输出通过是否存在提示符(>>>和…)来区分to repeat the example,如果想按例子自己操作一遍you must type everything after the prompt, when the promp

2021-06-20 13:25:13 406

翻译 002_Using the Python Interpreter_使用Python解释器

2.1. Invoking the Interpreter 调用解释器The Python interpreter is usually installed as /usr/local/bin/python3.5 on those machines where it is available;putting /usr/local/bin in your Unix shell’s search path makes it possible to start it by typing the command

2021-06-19 13:51:08 278

翻译 001_Whetting Your Appetite_引言

If you do much work on computers,如果你在电脑上做了很多工作eventually you find that there’s some task you’d like to automate.最终你会发现有一些任务你想要自动化For example, you may wish to perform a search-and-replace over a large number of text files,例如,你可能希望对大量的文本文件执行搜索和替换or ren

2021-06-18 14:09:30 143

翻译 000_The Python Tutorial_Python教程

Python is an easy to learn, powerful programming language.Python是一门简单易学又功能强大的编程语言.It has efficient high-level data structures它具有高效的高级数据结构and a simple but effective approach to object-oriented programming.并通过简单而有效的方法来进行面向对象编程Python’s elegant syntax an

2021-06-17 23:38:14 191 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除