Import config into global space?

simo simoninusa2001 at yahoo.co.uk
Wed Mar 31 11:20:35 EST 2004


Josiah Carlson <jcarlson at uci.edu> wrote:

[global import from file]

> from config import *

Oh man! I can't believe it was that simple and I didn't think of it!

Actually, I've gone with the config.variable syntax for now anyway, it
actually makes more sense as I don't have to name my variables like
fontsize_config to differentiate them.



More information about the Python-list mailing list