Package zephir :: Package monitor :: Module utils
[hide private]
[frames] | no frames]

Module utils

source code

Functions [hide private]
 
readfile(filename)
Lit un fichier et le met dans une variable
source code
 
createfile(long_filename, string)
Créee un fichier avec le contenu de la string
source code
 
_dict_to_table_row(d)
Mapping...
source code
 
_list_to_table_row(ligne)
génération d'une ligne de tableau à partir d'une liste
source code
 
_dict_to_table_head(d)
Mapping dictionnaire python -> table head
source code
 
list_to_table(list_dict)
Mapping liste de dictionnaires python -> html table
source code
 
list2list_to_table(list2list)
Mapping liste de listes python -> html table
source code
 
dict_to_list(dict)
Mapping dictionnaire python -> liste logidee
source code
 
list_to_list(list, id)
Mapping liste python -> liste hmtl
source code
Function Details [hide private]

_dict_to_table_row(d)

source code 
Mapping
dictionnaire python -> logidee table row

exemple
-------

{'libelle': 'horus', 'id': 13}

devient : 

<row><col>horus</col><col>13</col></row>