1. 首页
  2. 编程语言
  3. Python
  4. python核心编程源码

python核心编程源码

上传者: 2018-12-18 20:15:19上传 RAR文件 154KB 热度 53次
python核心编程第二版的源码 #!/usr/bin/env python 'readTextFile.py -- read and display text file' # get filename fname = raw_input('Enter file name: ') print # attempt to open file for reading try: fobj = open(fname, 'r') except IOError, e: print"*** file open error:", e else: # display contents to the screen for eachLine in fobj: print eachLine, fobj.close()
下载地址
用户评论
greeting6621 2025-01-02 20:14:56

很好,非常感谢

weixin_56588 2024-12-28 08:32:56

不错。正是我需要的

pengxu5642 2025-01-06 19:35:05

不错 不错 非常适合初学者

leaf2993 2024-12-29 16:04:13

正在看python核心编程这本书,有配套源码方便多了,多谢分享

幻泪风痕 2024-12-28 21:44:25

谢谢, 正是我需要的

lrguo42033 2025-01-03 01:38:24

真的很不错,对照书很好

czm34259 2025-01-04 03:12:39

例子不错,适合新手

affect_5260 2024-12-27 03:30:46

非常好的资源

soulingm 2025-01-03 13:55:15

是配套源代码,重复的tar。

explosive_8328 2024-12-30 11:42:01

python代码例子教程,good