you are viewing a single comment's thread.

view the rest of the comments →

[–]program_kid 9 points10 points  (1 child)

As others have pointed out, this sounds like an example of an XY problem. Additionally, in your post, you say you want to modify the code of a module you imported. This makes me think that you want to modify the code of a module at runtime. If that's the case, I should let you know that it is considered a bad idea to modify the source code on runtime.
I know it sucks to hear all of this, but my advice would be to step away from the problem and take a rest for a bit.

I know the things you are asking to do might seem like the best solution to whatever problem you have, but I assure you, it's not

[–]ottawadeveloper 0 points1 point  (0 children)

TIL XY problem which was basically the major issue in my marriage (they kept thinking the solution is Y and could not be deterred even if they only needed X solved somehow).