![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: [Beginner] Calling a function by its name in a string
From: Tito <titogarcia_borra_esto@gmail.com>
Date: Wed Jul 27 2005 - 20:46:16 CEST
Thank you both for your quick answers.
What I wanted is to parameterize a function with another member
def printFunctionForEach(collection, functionName):
Moreover, I wanted to do it with a property:
def printPropertyForEach(collection, propertyName):
Is there another approach to do it?
Regards,
|