这个嘛,你要是只有逗号分割的话,就用string.split('.')要是有很多种符号的话,就只能自己写一堆if-else语句了。
f=open('filename','r')line=f.read().split('标点')for i in line: $DO what you wanna