摘要:
python 文本对象 继承自C的stdio包 打开 可以用内置的open()函数创建 with open("hello.txt") as f: for line in f: print line 等效于旧版本的 f = open("hello.txt") try: for line in f: p 阅读全文
摘要:
2. Built-in Functions https://docs.python.org/3.4/library/functions.html?highlight=file The Python interpreter has a number of functions and types bui 阅读全文