Pull import * statement into the module level, otherwise code is not portable.
Fix error: not enough parameters passed to format string.