Import config into global space?

Josiah Carlson jcarlson at uci.edu
Wed Mar 31 06:22:39 CEST 2004


> config.py
> =========
> 
> ID_TOOLBAR = 105
> 
> myprog.py
> =========
> 
> import config
> print ID_TOOLBAR
> 
> result
> ======

from config import *

  - Josiah



More information about the Python-list mailing list