

from __future__ import print_function
import os
import sys
if __name__ == "__main__":
#    os.chdir('E:\\TunnelHough')
    
    ins = open( "car.lst", "r" )
    array = []
    for line in ins:
        array.append( line.strip() )
    
    fls=array[1:int(array[0])+1]
    features=[]
    positions=[]
    for fl in fls:             
        temfile=open(fl+'_surf.txt','r')
        num=int(temfile.readline().strip())
        for i in range(0, num):
            positions.append(temfile.readline().strip())
            features.append(temfile.readline().strip())
        
        temfile.close()   
    
    allf=open('allFeatures.txt','wb')
    for fea in features:
        print(fea,file=allf)
    
    allf.close()
        
3d31a4667a90cf10fa3914bcd6e9b4212e309e0e
<mask token>

<mask token>
if __name__ == '__main__':
    ins = open('car.lst', 'r')
    array = []
    for line in ins:
        array.append(line.strip())
    fls = array[1:int(array[0]) + 1]
    features = []
    positions = []
    for fl in fls:
        temfile = open(fl + '_surf.txt', 'r')
        num = int(temfile.readline().strip())
        for i in range(0, num):
            positions.append(temfile.readline().strip())
            features.append(temfile.readline().strip())
        temfile.close()
    allf = open('allFeatures.txt', 'wb')
    for fea in features:
        print(fea, file=allf)
    allf.close()

from __future__ import print_function
import os
import sys
if __name__ == '__main__':
    ins = open('car.lst', 'r')
    array = []
    for line in ins:
        array.append(line.strip())
    fls = array[1:int(array[0]) + 1]
    features = []
    positions = []
    for fl in fls:
        temfile = open(fl + '_surf.txt', 'r')
        num = int(temfile.readline().strip())
        for i in range(0, num):
            positions.append(temfile.readline().strip())
            features.append(temfile.readline().strip())
        temfile.close()
    allf = open('allFeatures.txt', 'wb')
    for fea in features:
        print(fea, file=allf)
    allf.close()



from __future__ import print_function
import os
import sys
if __name__ == "__main__":
#    os.chdir('E:\\TunnelHough')
    
    ins = open( "car.lst", "r" )
    array = []
    for line in ins:
        array.append( line.strip() )
    
    fls=array[1:int(array[0])+1]
    features=[]
    positions=[]
    for fl in fls:             
        temfile=open(fl+'_surf.txt','r')
        num=int(temfile.readline().strip())
        for i in range(0, num):
            positions.append(temfile.readline().strip())
            features.append(temfile.readline().strip())
        
        temfile.close()   
    
    allf=open('allFeatures.txt','wb')
    for fea in features:
        print(fea,file=allf)
    
    allf.close()
        