[Tutor] Another question about GUI applications.

Wayne Werner waynejwerner at gmail.com
Wed Nov 9 15:09:08 CET 2011


On Wed, Nov 9, 2011 at 6:26 AM, Albert-Jan Roskam <fomcl at yahoo.com> wrote:

> Ah, good that they've renamed it to lowercase. Isn't there a convention
> to only use a capital for class names? (and of course for constants, which
> are all caps).
>

I think so, I know to adhere PEP 8 that is definitely required for names
inside a file.

As a mention, since I'm sure you'll hit this at some point if you program
much with Tkinter. The common dialog imports have also changed:

Python 3.2.2 (default, Sep  4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter.filedialog as fd
>>> import tkinter.commondialog as cd

I know Google doesn't return (at least for me) very many helpful results,
even when explicitly using python 3 in the search field.

HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111109/47336eb3/attachment.html>


More information about the Tutor mailing list