I don’t know python, so I’m answer generally. The simplest solution is just to change the source file variable to something else, then run a regular reimport. So if you know how to change that variable and do a reimport from python, then that’s all you need.