Importing through a function

Is there a way to import classes/variables from a separate folder/file using a function? I tried it this way as well as trying to returning the a, b, and c variables, but it still didn't work.

You are viewing a single comment. View All

Is there any reason why you'd want to do that?


@SixBeeps I'm trying to create my own, I guess you'd call it a library, and I want to make it to where instead of having to manually import everything you can just use one function to import all of the important things.