標籤

C (1) maple (2) Matlab (11) paper (1) python (14)

2011年4月10日 星期日

check data

t=open('pima.txt') #開啟 pima.txt

import string    #匯入 string

for k in range (768):        
    a=string.split(t.readline())          #string.split('a,b,c') ==> [a,b,c]
    if '0' not in a[2:7]:
        print a

這個是用來找檔案 把特定檔案刪除的程式

沒有留言:

張貼留言