On Sat, Feb 21, 2009 at 8:05 AM, Peter Anderson
wrote:
> By George I think I've done it!!!
>
> I was looking (yet again) through the Python 3 documentation and have
> changed the calculator.py script to:
>
> from tkinter import *
> from tkinter.messagebox import showerror
> from math import sqrt
>
By George I think I've done it!!!
I was looking (yet again) through the Python 3 documentation and have
changed the calculator.py script to:
from tkinter import *
from tkinter.messagebox import showerror
from math import sqrt
...
And it now works! I would still appreciate any help with trying
"Peter Anderson" wrote
Additionally, is there any references to Python 3 and Tkinter other
than the standard documentation (which is flimsy at best).
There are a couple of other tutorials that have been upgraded
to v3 but I suspect most, like mine, are still works in progress!
Python 3 for
I have just re-installed Python 2.5.4 and the calculator.py script runs
correctly using the original script (even when no value is entered in
the data input field - the error dialog displays correctly). This is
very frustrating!
Clearly there is something different in the way Python 3.0.1 is h
I am trying to learn Python and have just installed Python 3. I am going
back over some previous scripts trying to convert them to run under
Python 3 (and hopefully learn a bit more in the process). I am having
great problems with scripts that use Tkinter. A typical example is a
script called c