in reply to inheritance of constants

>borisz and browserUk I applied your recommendations and it works!
Thank you so much for your useful explanations.

>rrwo: Actually, as I mentionned, I had these constants in the main script. then, in order to improve the "readability" of my files, I thought to split into 2 files. My first idea (the simplest; few changes to do) was to create a new module but a configuration file could be convenient as well.
How would I proceed? open(.txt) and regular expression to retrieve my info ?

Replies are listed 'Best First'.
Re^2: inheritance of constants
by Old_Gray_Bear (Bishop) on Nov 24, 2004 at 16:39 UTC
    Take a look at the modules in the Config name space for tools to assist in easily creating/manipulating configuration files.

    ----
    I Go Back to Sleep, Now.

    OGB