2 from networkx.algorithms import isomorphism
5 from optparse import OptionParser
13 """Convertit un nombre en binaire"""
15 res =[0 for i in range(n)]
30 acc = acc + 2**(n-i-1)
37 laligne = fd.readline()
39 laligne = laligne.replace('][','];[')
40 matrices = laligne.split(';')
43 for m in matrices[-1]:
47 n= int(log(len(mp))/log(2))
49 for i in range(len(mp)):
55 if mp[i][dec(op,n)] != 0 :