摘要:
1. sys模块模拟系统的cat命令#! /apps/android/python2.6/bin/python#Filename catsimport sysdef readfile(filename): //读取文件内容的方法 f = file(filename) while True: line = f.readline() if len(line) == 0: break print line... 阅读全文
posted @ 2011-10-25 16:11
MyEyes
阅读(344)
评论(0)
推荐(0)