Re: [Zope] Creating a namespace

2001-01-29 Thread Dieter Maurer
Stephan Richter writes: > I want to make my own name space with the following situation: > > class X: > > attributes = {'foo': 'bar'} > > x = X() > > > Then I want to use it like that: > > > > > > The result should be : bar > > I found out that I have to some

[Zope] Creating a namespace

2001-01-27 Thread Stephan Richter
Hello everyone, I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: The result should be : bar I found out that I have to somehow use TemplateDict and InstanceDict, but I have no clue ho