New install. Getting ImputError
Thomas D'Urso
tjdurso at slip.net
Sun Jan 23 02:31:38 EST 2000
Just installed / started with Python and reading Learning Python. When I
try to execute this code:
import test
from test import vtest # <-- error on this line
print vtest
file "test" contents:
vtest = 'this is a test'
I get debugger error for 2nd line: ImputError: cannot input name
vtest
The global variable says ImputError is: Input can't fine module, or
can't find name in module.
It give no other errors as far as opening the file. Working on a Mac G4
with OS 9. Python 1.5.2.
Doing the "import test.autotest" reports no errors.
TIA Thomas
More information about the Python-list
mailing list