我需要阅读一个段落,我需要复制只有关键字的行。
段落是这样的:
aa
a
aaa
aaaaa
[new,aaa] < name of the file with path ] //asabbsjk
orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
[mod] <name of the file with path
我的算法:
if keyword exists in the line :
copy that line
else:
leave it
宝慕林4294392
Helenr
相关分类