W
waltbrad
Hello. I'm brand new to Python. I'm running a Kubuntu system and
working through the "diveintopython" tutorial. The author of that
gives these instructions:
Build a connection string from a dictionary
Returns string.
I've tried to enter this into the interpreter but the very first
instruction:
gives me this:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named odbche
I've tried to enter the pathname:
and I get this error:
File "<stdin>", line 1
import /home/jw/diveintopython-5.4/py/odbchelper.py
^
SyntaxError: invalid syntax
Where on my system do I have to place these files before the
interpreter will import them?
Thanks.
working through the "diveintopython" tutorial. The author of that
gives these instructions:
Build a connection string from a dictionary
Returns string.
I've tried to enter this into the interpreter but the very first
instruction:
gives me this:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named odbche
I've tried to enter the pathname:
and I get this error:
File "<stdin>", line 1
import /home/jw/diveintopython-5.4/py/odbchelper.py
^
SyntaxError: invalid syntax
Where on my system do I have to place these files before the
interpreter will import them?
Thanks.