Python - how to make dynamic method

后端 未结 0 791
醉话见心
醉话见心 2021-01-25 09:12

I wonder how i can assign dynamic method (for example ".text" or ".split()") to my variable.

some_selector = "div.test"      # is it         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题