12 Aug
2002
12 Aug
'02
7:54 p.m.
Felix Ulrich-Oltean writes:
In PageTemplate.py, I have found pt_macros(), which returns a dictionary with macro names as keys. Great so far. I can even print pt_macros() and get a string representing the whole dictionary. However, when I try to access the corresponding value so I can look for the slots inside each macro, I get the error shown below. ... Error Type: TypeError Error Value: unsubscriptable object ... File Script (Python), line 8, in examineMacros.py Something is wrong with your line 8 of "examineMacros.py". You use "[...]" on something which is not subscriptable.
Dieter