IDLE window disappears - more info

Olivier Dagenais olivierS.dagenaisP at canadaA.comM
Sun Jul 23 22:05:17 EDT 2000


In order to avoid having a window flash like that, you will have to use a
DOS prompt and invoke your scripts from the command line like so:

C:\Your\Dir\Here>python hello.py

...then, if there is something totally wrong that prevents programs from
running, you'll know about it.

--
----------------------------------------------------------------------
Olivier A. Dagenais - Carleton University - Computer Science III


"Rodney Loisel" <rloisel at helicon.net> wrote in message
news:397B96EE.9C62A45F at helicon.net...
> There is a _tkinter.pyd in the Python\dll\ but there is no Tk directory.
Why
>
> would there be no Tk directory if Python seems to depend on it so much?
> All I can do with this program is 'run Python' or select it from the start
> menu
> and I get a generic dos shell with  a >>> prompt an no shell features.
> Clicking
> on any *.py icon just opens and quickly closes a window before I can read
> what's in it. I downloaded the program thru the Python web site and
> installed
> it by their instructions. Looks like I've wasted 25.00 on my new "Teach
> yourself Python" book...
> rloisel
>
> Sam Schulenburg wrote:
>
> > Usually the problem is IDLE can not find the Tk dll's. My solution has
> > been to copy the Dll's from the Tk\bin directory to the Python\DLL
> > directory.
> >
> > Sam Schulenburg
> >
> > In article <rcIe5.9147$Gh.74143 at news20.bellglobal.com>,
> >   "Olivier Dagenais" <olivierS.dagenaisP at canadaA.comM> wrote:
> > > The Python binary might be in your path, but maybe the libraries
> > aren't?
> > >
> > > --
> > > ----------------------------------------------------------------------
> > > Olivier A. Dagenais - Carleton University - Computer Science III
> > >
> > > "Rodney Loisel" <rloisel at helicon.net> wrote in message
> > > news:397B0D93.6A5EE7CB at helicon.net...
> > > > Changed the DOS properties not to close on exit
> > > > the following is the result of
> > > > import Tkinter
> > > > several levels of error
> > > > last:
> > > > DLL load failed: one of the library files
> > > > needed to run this application cannot be
> > > > found.
> > > > rloisel
> > > >
> > >
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>





More information about the Python-list mailing list