O'Reilly logo
  • You Wang thinks this is interesting:

we could write import MyModuleA as MyModule in a program, and later on seamlessly switch to using import MyModuleB as MyModule.

From

Cover of Programming in Python 3: A Complete Introduction to the Python Language, Second Edition

Note

Use module alias to do fast API switch (when two modules have the same API)