#how can i import all packages in a folder and maybe load them onto a list
9 messages · Page 1 of 1 (latest)
go list ./...
I wana import From inside the main package
Through code
Something similar to
l=[]
for file in os.listdir("./a"):
l.append(__import__(file))
In python