python - How to use the import function to import a name from a ...
The from [module] import [identifiers] form is more future proof because you can easily see when one import will be overriding another. Also note that "variables" aren't different from functions in Python in terms of how they're addressed -- every identifier like name or sayBye is pointing at some kind of object.