找回密码
 注册
查看: 463|回复: 2

给janho朋友作的一个处理文本的小程序

[复制链接]
发表于 2003-5-10 22:32:08 | 显示全部楼层 |阅读模式
附件

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2003-5-11 09:38:30 | 显示全部楼层
感谢cjacker.很方便啊。
这个python语言看起来很有趣啊!!
for b in a:
if b[count] in list:
=====================================================为了减少重码,我在其中加入了几句:
count=0
fnd=string.find(b,' ')
if fnd>=0:
    b=b[]+'\n'
while(count<len(b))
.............
回复

使用道具 举报

发表于 2003-5-11 10:20:54 | 显示全部楼层
[quote:dd06319a09="Kingo"]感谢cjacker.很方便啊。
这个python语言看起来很有趣啊!!
for b in a:
if b[count] in list:
=====================================================为了减少重码,我在其中加入了几句:
count=0
fnd=string.find(b,' ')
if fnd>=0:
    b=b[]+'\n'
while(count<len(b))
.............
[/quote]

yes, python, php, and perl are 3 Powerful languages.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-25 01:37 , Processed in 0.022300 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表