Re: Python equivilant to msgbox()

2006-02-15 Thread Claudio Grondi
LittlePython wrote: I am glad you did remind me of WScript.Shell ... I have to keep in mind that most if not all of what I have been using in VBS is avail to me. Thx Maybe in this context it could be also worth for you to know, that on Windows you can use Python as a scripting language

Re: Python equivilant to msgbox()

2006-02-14 Thread LittlePython
I am no VB programmer just dabble in vbscripting abit. The only one I am aware of is the popup as self closing. I never thought of using com. Do you know of any thing for a busy box in the same vain as easygui Claudio Grondi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Python equivilant to msgbox()

2006-02-14 Thread Claudio Grondi
LittlePython wrote: I am no VB programmer just dabble in vbscripting abit. The only one I am aware of is the popup as self closing. I never thought of using com. Ok, so my remarks about COM were not for you. Do you know of any thing for a busy box in the same vain as easygui No, I don't, but

Re: Python equivilant to msgbox()

2006-02-14 Thread LittlePython
I am glad you did remind me of WScript.Shell ... I have to keep in mind that most if not all of what I have been using in VBS is avail to me. Thx Claudio Grondi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] LittlePython wrote: I am no VB programmer just dabble in vbscripting abit.

Re: Python equivilant to msgbox()

2006-02-13 Thread Peter Decker
On 12 Feb 2006 17:27:56 -0800, André [EMAIL PROTECTED] wrote: It's also possible to something like that with wxPython. Try: import wx app = wx.PySimpleApp() dlg = wx.TextEntryDialog(None, 'Enter value', 'Title', '') if dlg.ShowModal() == wx.ID_OK: val = dlg.GetValue() # this line

Re: Python equivilant to msgbox()

2006-02-13 Thread Fredrik Lundh
Peter Decker wrote: It's also possible to something like that with wxPython. Try: import wx app = wx.PySimpleApp() dlg = wx.TextEntryDialog(None, 'Enter value', 'Title', '') if dlg.ShowModal() == wx.ID_OK: val = dlg.GetValue() # this line should be indented dlg.Destroy()

Re: Python equivilant to msgbox()

2006-02-13 Thread Peter Decker
On 2/13/06, Andre Roberge [EMAIL PROTECTED] wrote: While I agree that dabo's version is more Pythonic than wxPython, my understanding is that dabo is built on top of wxPython. Yes. You get all the power of wxPython without having to deal with the C++ style of coding. There are other

Re: Python equivilant to msgbox()

2006-02-13 Thread Claudio Grondi
LittlePython wrote: That is exactly what I was look for .. thx Surprised to hear that. As VisualBasic programmer I would expect you to have experience with ActiveX on Windows, where the best way to go with Python is to reuse all the ActiveX components and their known user interfaces (i.e.

Re: Python equivilant to msgbox()

2006-02-13 Thread [EMAIL PROTECTED]
Or just do the message box. import CLR.System.Windows.Forms as Forms Forms.MessageBox.Show(message goes here, Window title goes here) http://www.zope.org/Members/Brian/PythonNet/ In theory this will also work on a linux system with Mono installed --

Python equivilant to msgbox()

2006-02-12 Thread LittlePython
Is there an equivalent to a msgbox() or wscript.echo (via wcsript) . I would like to call this instead of print (to the screen) . I would like to write a simple script that is not an event drive gui but calls input boxes, message boxes, or maybe even a file open browser box as well? --

Re: Python equivilant to msgbox()

2006-02-12 Thread Kent Johnson
LittlePython wrote: Is there an equivalent to a msgbox() or wscript.echo (via wcsript) . I would like to call this instead of print (to the screen) . I would like to write a simple script that is not an event drive gui but calls input boxes, message boxes, or maybe even a file open browser

Re: Python equivilant to msgbox()

2006-02-12 Thread Andre Burgaud
Hi, If you target Windows, you may try ctypes http://starship.python.net/crew/theller/ctypes/: from ctypes import * windll.user32.MessageBoxA(None, MessageBox Text, MessageBox Caption, 0)1 or win32api http://starship.python.net/crew/mhammond/win32/: import win32api win32api.MessageBox(0,

Re: Python equivilant to msgbox()

2006-02-12 Thread LittlePython
That is exactly what I was look for .. thx Kent Johnson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] LittlePython wrote: Is there an equivalent to a msgbox() or wscript.echo (via wcsript) . I would like to call this instead of print (to the screen) . I would like to write a

Re: Python equivilant to msgbox()

2006-02-12 Thread André
Kent Johnson wrote: LittlePython wrote: Is there an equivalent to a msgbox() or wscript.echo (via wcsript) . I would like to call this instead of print (to the screen) . I would like to write a simple script that is not an event drive gui but calls input boxes, message boxes, or maybe