大家好,我是Eric,這次教大家Python的字串處理(string processing)! ... import re regex = re.compile('\s+') regex.split(line) #\s是一個特殊的字元,匹配所有空白 ...
確定! 回上一頁