I'm fairly new to object oriented programming and have a question on the following.
class TestClass():
    def test(arg1,arg2):
        global message
        print(arg1,arg2)
        message=str(arg1)+' '+str(arg2)
        print message
    def test0( self, twoword ):       
        global word1,word2
        word1=twoword.split('-')[0]
        word2=twoword.split('-')[1]
        print(word1,word2)
        TestClass.test(word1,word2)
The functionality of the program is redundant and can be simplified but I wish to call the test() from test(). How would one go about this? Thank you.
 
     
     
    