[Tutor] Pythonwin

Gregor Lingl glingl@aon.at
Wed, 26 Jun 2002 23:35:51 +0200


----- Original Message -----
From: "Terje Johan Abrahamsen" <terjeja@hotmail.com>
To: <tutor@python.org>
Sent: Wednesday, June 26, 2002 10:16 PM
Subject: [Tutor] Pythonwin


> I am using ActiveState PythonWin for Win2k. I have a few questions about
> this program. 1) Lets say I want to use the function string.atof('55.4').
> Then I start typing String. when I have typed the . a box comes up with
what
> is possible to type further. ascii_letters is the first one. Which key do
I
> press to get that filled in automatically.

You have to press the Tab-key.

If you want to use the atof function, you have to type a then t - and
now atof is selected and Tab-key completes the function name.

I have read something with the \
> key if I don't remember wrong, but I never got that to work.
>
> 2) If I write a program:
> while 1 == 1:
>    print"hello"
>
> It will print hello forever. How do I stop it without stopping the
PythonWin
> program? Ctrl-c and ctrl-break doesn't work. Is there anything that will
> work?

As far as I know, its impossible to stop this loop - a fact which proves
especially problematic in eduacational settings - say in a classroom -
where infinite loops use to happen not too seldom.

I would be very glad, if I were wrong in this respect.

Gregor


>
> Thanks,
> Terje
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>