How to reload python module in flask? How to reload python module in flask? flask flask

How to reload python module in flask?


The problem is the way you imported mapping. If you want reload(mapping) to work, you need to use import mapping instead of from mapping import....

And if you find the answer, you should put it in an Answer instead of in a comment. ;)