Import config into global space?

simo simoninusa2001 at
Wed Mar 31 18:20:35 CEST 2004

Josiah Carlson <jcarlson at> 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