Hi Michael, > Out[3]: 'HELLO' > In [4]: g = str.upper > In [5]: g(s) > Out[5]: 'HELLO' That's perfect! My mistake was trying to use the method returned by ''.upper vs. str.upper. Thank you, Malcolm -- https://mail.python.org/mailman/listinfo/python-list
- Dynamically call methods where method is known by address v... Malcolm Greene
- Re: Dynamically call methods where method is known by ... Michael Selik
- Re: Dynamically call methods where method is known... Malcolm Greene