Nov-14-2018, 07:46 PM
Rename your file - Python is importing from your file instead of the module you intended.
You generally don't want to name your file anything that you can import in a Python shell, e.g. test, os, sys, etc.
You generally don't want to name your file anything that you can import in a Python shell, e.g. test, os, sys, etc.