I'm using Python 2.5 and can't get Ocemp to cooperate without numeric.
The example documentation for PGU is a bit too sparse for this newbie to
fathom... exactly what imports and such do I need to add to get the basic
'hello world' example to work?
15:app = gui.App()
16:
17:e = gui.Button("Hello World")
18:
19:app.run(e)
On Jan 20, 2008 10:59 PM, René Dudfield <[EMAIL PROTECTED]> wrote:
> Probably better to try out either pgu, or OcempGUI.
>
> http://www.pygame.org/projects/9/125/
> http://www.pygame.org/projects/9/108/
>
>
> http://pygame.org/wiki/gui
>
>
> cu,
>
> On Jan 21, 2008 2:56 PM, Bernard Quinn <[EMAIL PROTECTED]> wrote:
> > disclaimer: I'm in the Python Newbie category...
> >
> > Thank you for the suggestion. I installed wxPython to try it, but get
> a
> > syntax error at 'file()' ?
> >
> >
> >
> > On Jan 20, 2008 9:24 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> >
> > > For wxPython? Don't use the examples unless you're desperate--they're
> > ridiculously complex. If you do indeed want wxPython, do:
> > >
> > > import wx
> > > wildcard = ".AVI Audio (*.avi)|*.avi|"\
> > > "All files (*.*)|*.*"
> > > def open file():
> > > app = wx.PySimpleApp()
> > > file_picker = wx.FileDialog(None,wildcard=wildcard,style=
> > wx.FD_OPEN|wx.FD_CHANGE_DIR|wx.FD_FILE_MUST_EXIST)
> > > file_picker.ShowModal()
> > > path = file_picker.GetPath()
> > > app.Destroy()
> > > return path
> > >
> > > Ian
> > >
> >
> >
>