Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65879
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-02-10 20:26 -0800 |
| References | <6e857925-8571-438b-84a6-bf53a3488037@googlegroups.com> |
| Message-ID | <ebb75c7f-e4be-4880-b08f-3115fb0ded63@googlegroups.com> (permalink) |
| Subject | Re: Error getting while running python function |
| From | Jaydeep Patil <patil.jay2009@gmail.com> |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Error getting while running python function Jaydeep Patil <patil.jay2009@gmail.com> - 2014-02-10 20:07 -0800
Re: Error getting while running python function Chris Angelico <rosuav@gmail.com> - 2014-02-11 15:12 +1100
Re: Error getting while running python function Jaydeep Patil <patil.jay2009@gmail.com> - 2014-02-10 20:34 -0800
Re: Error getting while running python function Chris Angelico <rosuav@gmail.com> - 2014-02-11 16:01 +1100
Re: Error getting while running python function Jaydeep Patil <patil.jay2009@gmail.com> - 2014-02-10 20:26 -0800
Re: Error getting while running python function Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-11 09:59 +0000
csiph-web