In reply to @lillecarl:matrix.org What's the purpose of the setattr and getattr for namespace? Looks a bit overcomplicated for my eyes writing it that adds the module to a namespace of your choice (replace namespace) , so you dont have to add it manually in every module. Looking into it we realised there might be more readable ways to set it, but for now it works.
The way we get the filename doesnt though. Ill get an update on the final result
|