Importing A Module That Requires Other Packages
I'm trying to learn to use modules to clean up my code. I'm running into problems with scope. I understand that when you import a module, Python gives that module a separate scope.
Solution 1:
As I was expecting, there is a pretty simple solution to this problem. All that one needs to do is put the import
statements at the top of the info.py
file.
Post a Comment for "Importing A Module That Requires Other Packages"