Thanks a lot!! It works.
And I also found that if I comment the ‘’@staticmethod" line in my original code, it will work too. Can you briefly explain the reason? I think I will dig deeper into this and try to google more about the “staticmethod” thing. Thanks again.