So I routinely call the same 15-20 import statements prior to running multiple, but different .py scripts. This can sort of look clunky and I was wondering if I could, for the sake of condensing, store all of these import statements in a separate .py file, then call those import statements using a 1 - liner at the beginning of these .py scripts.
e.g.:
import a
import b
import c
import d
import e
import f
(and so on so forth)
into:
import import_list import imports
I've tried search around but I'm not sure I'm using the correct language to get my answer. I'm sure this has been asked quite a few times though. can anybody help? thanks!