How to overload the "import" in Python to name a function "import" for the Cement framework:
So, I am working on a CLI Python project that utilizes the Cement CLI framework. When creating commands for the command line in Cement, what you name the function that is run becomes the name of the command. I need to have a command that is called "import", but for obvious reasons, I cannot name a function "import" in Python.
Does anyone know a creative work around for naming a function "import" in Python? I tried some creative "duck typing" to try and overload import, but that did not work.