How we can split Python class into multiple files?

To split a python program or a class into multiple files, we need to refactor and rewrite the code into two or more classes as per convenience while ensuring that the functionality of the original code is maintained. The answer to this question is as above in a generic way and needs specific solutions depending upon specific scenarios of different problems as and when they are encountered.