GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing mofanpy.com — 读写文件 3 | 莫烦Python 读写文件 3 作者: Huanyu Mao 编辑: 莫烦 发布于: 2016-01-01 读取文件内容 file.read()¶使用 按行读取 file.readline()¶如果想在文本中一行行的读取文本, 可以使用 读取所有行 file.readlines()¶如果想要读取所有行, 并可以使用像 Python基础
安装
基本使用
if 判断
变量形式
模块安装
class 类
input 输入
元组, 列表, 字典 |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |