On Aug 22, 10:43 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Diez B. Roggisch wrote:
> By shell, he means the IDLE shell. But this is the direction to look
> first. In the IDLE shell (3.0) those two lines give me the Python
> directory, the same as the command line interpreter. When in a file
On Aug 22, 2:45 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
>
>
> > Hello,
>
> > I wrote aprogram that imports odbc and dbi. Originally I used PyWin,
> > but now I prefer IDLE for working in Windows. Anyway, when I start my
> > program from IDLE, it can't import
Diez B. Roggisch wrote:
[EMAIL PROTECTED] schrieb:
Hello,
In short:
In a freshly (re)started shell, I can use "import odbc" by hand. I
can't import odbc from within a script, or by hand after trying to
start such a script. Screen capture follows.
robert
RE
[EMAIL PROTECTED] schrieb:
Hello,
I wrote aprogram that imports odbc and dbi. Originally I used PyWin,
but now I prefer IDLE for working in Windows. Anyway, when I start my
program from IDLE, it can't import the odbc and dbi modules. However,
when I restart the shell and type "import odbc" at th