User Tools

Site Tools


gaudi:importnamespace

Import Classes in Namespace

How to

In your options file, you normally do:

from Configurables import myClass

However, if myClass is in a certain namespace, let's say myNamespace::myClass, then you have to do:

from Configurables import myNamespace__myClass

or

from Configurables import myNamespace__myClass as myClass
gaudi/importnamespace.txt · Last modified: 2010/04/16 15:07 by decianm