[python-chinese] 【请教】提取HTML中的TXT部分,有什么简单实用的方法吗?
Shao Feng
sevenever在gmail.com
星期五 四月 20 15:57:23 HKT 2007
w3m -dump file.html > file.txt
On 4/20/07, button <buttonww在gmail.com> wrote:
>
>
> 我也遇到过同样的问题,我是用lynx 命令来转化的。简单快捷!
>
> 在07-4-12,zongzi <honghunter在gmail.com> 写道:
> >
> > 其实,我是想要把HTML格式的小说,变成TXT,方便放到手机上面去看。
> >
> > --
> > 这是一个有钱人的世界,与我的世界截然不同!
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> Let Plato be your friend, and Aristotle, but more let your friend be
> truth.
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20070420/fb22e9f2/attachment.htm
关于邮件列表 python-chinese 的更多信息