Update pyThtoQGis

This commit is contained in:
Alex38Lyon
2026-03-02 08:48:40 +01:00
parent b0861c544d
commit c53565257e
58 changed files with 22716 additions and 3331 deletions
+7 -8
View File
@@ -1,11 +1,11 @@
"""
!#############################################################################################
# #
# general_fonctions.py for pythStat.py #
# general_fonctions.py for pyThtoQgis.py #
# #
!#############################################################################################
Alex 2026 01 09
Alex 2026 02 26
"""
import os, logging, sys, re, unicodedata
@@ -66,12 +66,11 @@ def colored_help(parser):
# Coloration des différentes parties
colored_help_text = help_text.replace(
'usage:', f'{Colors.ERROR}usage:{Colors.ENDC}'
).replace(
'options:', f'{Colors.GREEN}options:{Colors.ENDC}'
).replace('positional arguments:', f'{Colors.BLUE}positional arguments:{Colors.ENDC}'
).replace(', --help', f'{Colors.BLUE}, --help:{Colors.ENDC}'
).replace('elp:', f'{Colors.BLUE}elp{Colors.ENDC}')
'usage:', f'{Colors.ERROR}Usage:{Colors.ENDC}').replace(
'options:', f'{Colors.ERROR}Options:{Colors.ENDC}').replace(
'--option', f'{Colors.GREEN}--option{Colors.ENDC}').replace(
'-h, --help', f'{Colors.GREEN}-h, --help{Colors.ENDC}').replace(
'positional arguments:', f'{Colors.BLUE}positional arguments:{Colors.ENDC}')
# Surligner les arguments
# for action in parser._actions:
+2 -2
View File
@@ -6,12 +6,12 @@ global_data.py for pyThtoQgis.py
!#############################################################################################!
"""
Version = "2026.01.19"
Version = "2026.03.01"
#################################################################################################
pathshp = ".\\Inputs\\"
outputspath = ".\\Outputs\\"
output_log = ".\\pyThtoQgis.log"
# error_count = 0 # Compteur d'erreurs
debug_log = False