How do I call something that is within a class from outside of a class?

I am using embedded Python and as far as I know the methods that decode the parameters cannot be a part of a class. So I want to do things that are within a class (of course) how do I do this?

Actually I have figured something out I can set a boolean variable to true when I want to call something and handle it in the tick function.