¡@

Home 

python Programming Glossary: other_data

Python: access class property from string

http://stackoverflow.com/questions/1167398/python-access-class-property-from-string

the following class User def __init__ self self.data self.other_data def doSomething self source if source 'other_data' how to access.. self.other_data def doSomething self source if source 'other_data' how to access self.other_data I want to pass a string for the.. self source if source 'other_data' how to access self.other_data I want to pass a string for the source variable in doSomething..

switch case in python doesn't work; need another pattern

http://stackoverflow.com/questions/3886641/switch-case-in-python-doesnt-work-need-another-pattern

update or .. message 'create' msg some_data 'update' msg other_data # can have more return message type but it's not working for.. type but it's not working for me because some_data or other_data can be None it raise an error if it's none and the msg function.. 'create' blabla s msg some_data 'update' blabla s msg other_data 'delete' blabla s diff other_data some_data so lambda don't..