What's the difference between "import foo" and "from foo import *"?
import sys #
This brings the name “sys” into your module.
(Technically, it binds the name “sys” to the object that is the sys module.)
It does not give you direct access to any of the names inside sys itself (such as exit for example). To access those you need to prefix them with sys, as in
sys.exit()
from sys import * #
This does NOT bring the name “sys” into your module, instead it brings all of t