Modifying external pyhton modules

Viewed 22

I'm quite inexperienced with building "larger" projects and was hoping that some of you could maybe share their experience.

So the issue is the following: I work with a pyhton module created by someone else, call it external_python_module. For my project, however, I have to modify one of the methods of that module, say func_1.

That may sound like no issue at all, but if I want to share my code with other people, I would have to share with them the modification of the specific function func_1. This then raises the issue, that modifying the function func_1 might destroy some of the functionality of the module external_python_module.

Is there a solution for cases like this? Or some "best practices"?

Thanks in advance

0 Answers
Related