Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'classes,': 0.05; 'tkinter': 0.07; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'wrote:': 0.17; 'import': 0.21; 'file:': 0.22; 'defined': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'skip:m 30': 0.26; 'coding': 0.27; "doesn't": 0.28; 'all.': 0.28; 'received:192.168.1.3': 0.29; 'subject:learning': 0.29; 'class': 0.29; 'code': 0.31; 'point': 0.31; 'getting': 0.33; 'to:addr:python-list': 0.33; 'but': 0.36; 'anything': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'skip:u 10': 0.60; "you've": 0.61; 'header:Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:python.org': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XeZXOvF5 c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=O2Kvzccb_dQA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=34q5ALT3IiIA:10 a=2LfgQopTrmbrpk2L32oA:9 a=wPNLvfGTeEIA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 X-AUTH: mrabarnett:2500 Date: Fri, 28 Dec 2012 02:41:53 +0000 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: learning curve References: <50DCF3DE.7030600@gmail.com> In-Reply-To: <50DCF3DE.7030600@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356662513 news.xs4all.nl 6950 [2001:888:2000:d::a6]:40088 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35672 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!