transparencia:groupes-locaux:bru-schaerbeek:bruschcnscmn:howto
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
transparencia:groupes-locaux:bru-schaerbeek:bruschcnscmn:howto [2017/12/07 15:06] – patrick | transparencia:groupes-locaux:bru-schaerbeek:bruschcnscmn:howto [2017/12/07 15:45] (Version actuelle) – patrick | ||
---|---|---|---|
Ligne 15: | Ligne 15: | ||
La page de manuel de Dokuwiki concernant les recherches peut être trouvé à l' | La page de manuel de Dokuwiki concernant les recherches peut être trouvé à l' | ||
ici https:// | ici https:// | ||
+ | |||
+ | <file python> | ||
+ | def txt_2_dir_and_enveloppe(): | ||
+ | ''' | ||
+ | global Str_path_base | ||
+ | |||
+ | _b_dry_run = True | ||
+ | |||
+ | for _str_entry_0 in os.listdir(Str_path_base): | ||
+ | if os.path.splitext(_str_entry_0)[1] == ' | ||
+ | _str_path_entry_0 = os.path.join(Str_path_base, | ||
+ | with open(_str_path_entry_0, | ||
+ | _str_txt = _file_in.read() | ||
+ | _str_path_dir = os.path.join(Str_path_base, | ||
+ | os.mkdir(_str_path_dir) | ||
+ | _str_path_dir_start = os.path.join(_str_path_dir, | ||
+ | _str_dw = '' | ||
+ | _str_dw += '===== PV du %s =====\n' | ||
+ | _str_dw += ' | ||
+ | _str_dw += "< | ||
+ | _str_dw += " | ||
+ | _str_dw += " | ||
+ | _str_dw += '===== Discussion générale =====\n' | ||
+ | _str_dw += ' | ||
+ | if _b_dry_run: | ||
+ | print(_str_dw) | ||
+ | else: | ||
+ | with open(_str_path_dir_start, | ||
+ | _file.write(_str_dw) | ||
+ | </ | ||
transparencia/groupes-locaux/bru-schaerbeek/bruschcnscmn/howto.1512655597.txt.gz · Dernière modification : 2017/12/07 15:06 de patrick