Asked By – Jordan Parmer
In Python, is it possible to define an alias for an imported module?
…so that is has an alias of ‘short_name’.
Now we will see solution for issue: Can you define aliases for imported modules in Python?
import a_ridiculously_long_module_name as short_name
also works for
import module.submodule.subsubmodule as short_name