#!/usr/bin/python read = file('thread-1554-1-1.html','r') wr = file('list','w') while 1: line=read.readline() if 'href' in line and '.mobi' in line: wr.write(line) print(line) elif '</html>' in line: break wr.write('symons_end') read.close() wr.clos…
一.名词解释 一. HTML : Hypertext Markup Language 超文本标记语言 二. CSS : Cascading Style Sheet 层叠样式表 三. 浏览器:解释和执行HTML源码的工具. a) 五大浏览器:IE[IE6及以下版本(IE7及以上)].FF(FireFox).Chrome.Opera.Safari(Apple) b) 解析引擎: i. Trident引擎:(就是IE的WebB…