Hi Kent!
You are absolutely right. Sorry for my bad description.
Kent Johnson wrote:
> Ewald Ertl wrote:
>> Hi!
>>
>> How have you started the script? As far as I could see, in the Chapter 1 of
>> "Dive into Python", the odbchelper.py is just a script-File and not a module
>> to be imported, the
Ewald Ertl wrote:
> Hi!
>
> How have you started the script? As far as I could see, in the Chapter 1 of
> "Dive into Python", the odbchelper.py is just a script-File and not a module
> to be imported, therefore the Exception with the "ImportError".
It is both, if by "just a script-File" you mean
Kermit Rose wrote:
> When I tried to run a program show at the beginning of "Dive into Python",
>
> I got.
>
>
> Traceback (most recent call last):
> File "", line 1, in -toplevel-
> import odbchelper
> ImportError: No module named odbchelper
odbchelper is the module defined in Example 2
Hi!
How have you started the script? As far as I could see, in the Chapter 1 of
"Dive into Python", the odbchelper.py is just a script-File and not a module
to be imported, therefore the Exception with the "ImportError".
I do not have a Windows box here to check if the problem is with the PythonI
When I tried to run a program show at the beginning of "Dive into Python",
I got.
Traceback (most recent call last):
File "", line 1, in -toplevel-
import odbchelper
ImportError: No module named odbchelper
>>>
___
Tutor maillist - Tuto