Beispiel #1
0
    counter = counter + 1
        

##for id_value in kk.courrier['id']:
##    if id_value == 8888:
##        print kk.courrier['flag']

#TODO: must think of a way to parse the matrix into the system from file

f2 = file('writeto.csv', 'r') #location of addresses
c2 = csv.reader(f2)
input_tt= [row for row in c2]

print type(input_tt)
print type(input_tt[0])
print input_tt[0]
print type(input_tt[0][0])
print input_tt[0][1]

matrix = [
    [1, 2, 3],
    [5, 6, 7],
    [9, 10, 11],
    ]

print len(matrix)
kk.init_distance_matrix(matrix)

print kk.courrier['destination'][1]