I have a multi-file project, where I have one main file and import almost all necessary functions from other files. Some of these functions require certain packages.
I would import all packages at the beginning of the main file, but then the functions I am importing do not work without being imported in the main file. Is this considered bad practice? If so, what would be the best way to implement this?