What can you do if you don’t like a long package path like this one?

What can you do if you don’t like a long package path like this one?

A . you can make an alias for the name using the alias keyword
B . nothing, you need to come to terms with it
C . you can shorten it to alpha . zeta and Python will find the proper connection
D . you can make an alias for the name using the as keyword

Answer: D

Explanation:

Reference: https://stackoverflow.com/questions/706595/can-you-define-aliases-for-imported-modules-in­python

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments