I have a long list of import modules, something like this:
How can I write these all imports in one line? I come from C programming and see people doing #include "all_lib.h". Is there a equivalent or better pythonic way of doing this ?
Best How To :
You can put all those imports in one python file, call it
all_imports.py, and then import everything from that file using
from all_imports import * in your actual Python file.
from all_imports import *