How we can split Python class into multiple files?

PythonServer Side ProgrammingProgramming

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. 


raja
Published on 25-Jan-2018 15:10:51
Advertisements