Import config into global space?

Josiah Carlson jcarlson at uci.edu
Tue Mar 30 23:22:39 EST 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