Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Error': 0.07; 'subject:getting': 0.07; 'doing?': 0.09; 'omit': 0.09; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'docs.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'none),': 0.16; 'patil': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'class.': 0.26; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; '(maybe': 0.31; 'parameters.': 0.31; 'such.': 0.31; 'could': 0.34; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'possible': 0.36; 'window': 0.38; 'pm,': 0.38; 'simply': 0.61; 'simple': 0.61; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=UpiUDF9jGsR/RaG8YAAUC8kGRYBxePyoTgsEclDsBj0=; b=MHo+zCs0ABVyZOM+PiOjdo+iGbZStz0n5VxhjlKlOrZJJf6zgKhp2KoOrdspFwv11k jpERU51DFk3Pr0OxrsXoeM4pt3sZ3wdLmowCHiyzZlUKayqwv8372+6CwSHAG2g26p8Y r7wprtsyhYydYrhjjjdHLG5C0L0fNHGBo9B/FCBonaFAeQOewDWUHGFZcuSo6d+kPptq OLf2JVY+dVOXDDbppMaSG7aLf1D1KBSgIYMGz0cieEDX04mfmdncBw0lWprmnbsfaogP RRoID1ymqqEYXSzCZHF7b1oTBTZFW0Yqohnm0IPVkSLCdISyWY6g2NQh6cgjr89ZbDSf E1+Q== MIME-Version: 1.0 X-Received: by 10.68.162.66 with SMTP id xy2mr42209878pbb.46.1392094876269; Mon, 10 Feb 2014 21:01:16 -0800 (PST) In-Reply-To: <4e284506-52f5-4bb5-bb21-caf21b7742b3@googlegroups.com> References: <6e857925-8571-438b-84a6-bf53a3488037@googlegroups.com> <4e284506-52f5-4bb5-bb21-caf21b7742b3@googlegroups.com> Date: Tue, 11 Feb 2014 16:01:16 +1100 Subject: Re: Error getting while running python function From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392094879 news.xs4all.nl 2853 [2001:888:2000:d::a6]:44341 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65883 On Tue, Feb 11, 2014 at 3:34 PM, Jaydeep Patil wrote: > There is not parent window such. I just write a simple function to define. > There is no class. > Is it possible to work like the way i am doing? You could try reading the docs; there might be a way to say "no parent window" (maybe pass it None), but you can't simply omit parameters. Start with the docs. They're friendly. ChrisA