python3 class how to use method in other method code example Example: cls in python import os clear = lambda: os.system('cls')