Re: What is the difference between 'except IOError as e:' and 'except IOError, e:'

2009-11-18 Thread Marcus Gnaß
See also http://docs.python.org/dev/3.0/whatsnew/2.6.html#pep-3110-exception-handling-changes -- http://mail.python.org/mailman/listinfo/python-list

Re: A beginner question about GUI use and development

2009-11-13 Thread Marcus Gnaß
uap12 wrote: > When i givet the program away i like to pack it, so the enduser > just run it, i don't like to tell the user to install Python, and/or > som GUI package. is this possible. So Tkinter would be your choice, cause its shipped with Python ... > In the beginning it is okej to code the

Re: Tax Calculator--Tkinter

2009-11-09 Thread Marcus Gnaß
Someone Something wrote: > > from Tkinter import *; Try to avoid this. Better import Tkinter. And don't forget to import Tkconstants too! > > rate=Frame(root) > > income=Frame(root) > > result=Frame(root) Why do you use three frames? You only need one. And you can make your class TaxCalc inherit