Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'argument': 0.05; 'skip:" 60': 0.07; 'subject:Error': 0.07; 'subject:getting': 0.07; '(pos': 0.09; '__init__': 0.09; 'exit': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:while': 0.09; 'def': 0.12; 'language.': 0.14; 'patil': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spacing': 0.16; 'typeerror:': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'skip:_ 70': 0.16; 'language': 0.16; 'wrote:': 0.18; 'finished': 0.19; 'thanks.': 0.20; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; '---': 0.24; "i've": 0.25; 'defined': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'gives': 0.31; 'code': 0.31; 'url:wiki': 0.31; 'file': 0.32; 'this.': 0.32; 'url:python': 0.33; 'anybody': 0.35; 'url:org': 0.36; 'error.': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'above,': 0.60; 'free': 0.61; 'viruses': 0.61; 'protection': 0.63; 'our': 0.64; 'antivirus': 0.68; 'below.': 0.71; 'bloody': 0.84; 'lot,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Error getting while running python function Date: Tue, 11 Feb 2014 09:59:55 +0000 References: <6e857925-8571-438b-84a6-bf53a3488037@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-16-3.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: X-Antivirus: avast! (VPS 140210-1, 10/02/2014), Outbound message X-Antivirus-Status: Clean 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: 70 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392112810 news.xs4all.nl 2891 [2001:888:2000:d::a6]:51169 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65896 On 11/02/2014 04:26, Jaydeep Patil wrote: > On Tuesday, 11 February 2014 09:37:23 UTC+5:30, Jaydeep Patil wrote: >> I have defined one function as below. >> >> >> >> def InfoDir(msg): >> >> msg1 = wx.MessageDialog(msg) >> >> msg1.ShowModal() >> >> msg1.Destroy() >> >> >> >> InfoDir("Testing") >> >> >> >> >> >> It gives below error. >> >> msg1 = wx.MessageDialog(msg) >> >> File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_windows.py", line 2922, in __init__ >> >> _windows_.MessageDialog_swiginit(self,_windows_.new_MessageDialog(*args, **kwargs)) >> >> TypeError: Required argument 'message' (pos 2) not found >> >> >> >> Process finished with exit code 1 >> >> >> >> >> >> >> >> Please give me solution for this. > > > > Is anybody answer my query? > > Regards > Jay > Come on you lot, pull your bloody fingers out, I've been waiting for NINETEEN minutes!!! Would you please read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing above, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com