In a project I'm working on, I need to import many files whose name are quite similar.
from TCA1 import TCA1
from TCA2 import TCA2
from TCA3 import TCA3
from TCA4 import TCA4
.
.
.
from TCA15 import TCA15
So I wonder about the possibility of putting all of these imports in a loop.
I know its ridiculous but something like:
list = ["TCA1","TCA2","TCA3"...,"TCA15"]
for lib in list:
from lib import lib
Thanks.