as the goal is to pass a parameter to a module, I found a way using
the OS environment :
in the cgi, I do like a putenv :
os.environ['MY_UNIX_VARIABLE'] = 'myvalue'
in the module, I do like a getenv :
MY_PYTHON_VARIABLE = os.environ['MY_UNIX_VARIABLE']