Jun-19-2021, 11:17 AM
imports should generally be at the top of file, so you should move line 10.
There are exceptions, generally when the item being imported is generated by the script being run (or by one of the other imported modules) in which case, importlib is used to dynamically import package after being generated.
There are exceptions, generally when the item being imported is generated by the script being run (or by one of the other imported modules) in which case, importlib is used to dynamically import package after being generated.