learning curve

MRAB python at mrabarnett.plus.com
Fri Dec 28 03:41:53 CET 2012


On 2012-12-28 01:20, Verde Denim wrote:
> Just getting into Py coding and not understanding why this code doesn't
> seem to do anything -
>
> # File: dialog2.py
> import dialog_handler
>
> class MyDialog(dialog_handler.Dialog):
[snip]
>
> # File: dialog_handler.py
>
> from Tkinter import *
> import os
>
> class Dialog(Toplevel):
[snip]

You've defined 2 classes, but that's all. At no point did you ask it to
do anything with them!



More information about the Python-list mailing list