强大的Python

第一次玩python,真的发现它在文本处理方面太太太强大了。

for line in open("f:/file.txt"):
    
for word in line.split():
        
if word.endswith('ing'):
            
print word
原文地址:https://www.cnblogs.com/avril/p/2041886.html