第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

用python查找連續(xù)行

用python查找連續(xù)行

慕運維8079593 2019-02-23 19:05:36
我有一個文檔,內(nèi)容類似于 the line 1 is: a-b-o the line 2 is: not found the line 3 is: not found the line 4 is: a-c-k the line 5 is: a-d-g a-h-o the line 6 is: a-g-i the line 7 is: not found 這種。我想用python得到連續(xù)的有內(nèi)容的那幾行,而不是not found的那幾行。以上面的為例,我想得到的結(jié)果是: the line 4 is: a-c-k the line 5 is: a-d-g a-h-o the line 6 is: a-g-i 請問大家可以怎么實現(xiàn),謝謝。
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 539 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號