28 Jul
2000
28 Jul
'00
8:35 a.m.
Hi tav, Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. _[pagename] will call the object's __call__ method, if it has one and return the result, rather then the actual object. Which can be more than a little irritating ;-) getitem gives you more control: getitem(object,0) will always return the object. getitem(object,1) will __call__ it if it can. cheers, Chris