It is recommended to not to use import * in Python.
Can anyone please share the reason for that, so that I can avoid it doing next time?
Understood the valid points people put here. However, I do have one argument that, sometimes, "star import" may not always be a bad practice:
const.py:
import const, then for every constant, I have to refer it as const.SOMETHING, which is probably not the most convenient way.from const import SOMETHING_A, SOMETHING_B ..., then obviously it's way too verbose and defeats the purpose of the structuring.from const import * may be a better choice.