def local_table_dico(table2,base,rangeB)
Utils method : A method to convert a Base table to Python dictionnary
Parameters |
|
Description |
table2 | list of list |
|
base | int |
|
rangeB | int |
|
- Returns
Dictionnary : A dictionnary representing the specified Base table
str_base={}
res = {}
if(rangeB>base**2):
rangeB=base**2
for i in range (0,rangeB):
str_base[i]=table2[base][i]
return str_base