28 Dec
2003
28 Dec
'03
9:43 a.m.
On Sun, Dec 28, 2003 at 02:11:33AM -0700, Paul Dumais wrote:
I have a Python script that takes a parameter 'fileid' which is a file id. I need to call the getProperty() method via something like this:
container.fileid.getProperty('prop')
This does not work (I get an Attribute Error).
yes, you probably want this: getattr(container, fileid).getProperty('prop') -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's CUSTODIAN TERRIBLE TONGUE! (random hero from isometric.spaceninja.com)