from-import vs. import

Mike Tibbs (tibbs@dopey.si.com)
Tue, 12 Jul 94 12:18 EDT

What's the difference between

import strop
and
from strop import *

If I do:
line = file.readline()
fields = split(line, '\t')

when I run it, I get:
NameError: split

when using 'import', but no error using 'from-import'.

== Michael Tibbs
== tibbs_michael@si.com