Ver Mensaje Individual
  #14 (permalink)  
Antiguo 01/10/2008, 16:31
iozk
 
Fecha de Ingreso: mayo-2008
Mensajes: 499
Antigüedad: 16 años
Puntos: 1
Respuesta: crear algo con phyton ayuda!

sip para que sea .exe y no un archivo mas de python devo compilarlo no para que sea .exe?

oye quiero ponerle las acciones al menu about y exit para que diga algo y se sierre
tambien quiero ponerle otro menu el tal -edit - como lo hago asi

Cita:
#---START NUEW CODE:--------------------------------------
self.CreateStatusBar()
#-------- Setting up the menu.
filemenu = wx.Menu()
filemenu.Append(ID_ABOUT, "&About","Information obout this program")
filemenu.AppendSeparator()
filemenu.Append(ID_EXIT, "E&xit", "terminate the program")
editmenu = wx.Menu()
editmenu.Append(ID_COPY, "&Copy")
#-------- Creating the menu.
menubar = wx.MenuBar()
menubar.Append(filemenu,"&File")
self.SetMenuBar(menubar)
#--- END NEW CODE --------------------------------------------------------
self.Show(True)
bueno algo asi o tambien lleva filemenu?? ya lo intente y sale error en sintaxis y algo asi