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

tengo un error que no me deja abrir mi apliC

Código python:
Ver original
  1. import wx
  2.  
  3. class MainWindow(wx.Frame):
  4.     def _init_(self,parent,id,title);
  5.     wx.Frame._init_(self,parent,wx.ID_ANY,title,size = (400,200), style = wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
  6.     self.control = wx.TextCtrl(self,1,style = wx.TE_MULTILINE)
  7.     self.Show(True)
  8.  
  9.  
  10. App = wx.PySimpleApp()
  11. frame = MainWindow(None,-1,"Small Editor")
  12. #frame = wx.Frame(None,-1,"Hello World")
  13. #frame.Show(1)
  14. App.MainLoop()

Última edición por AlvaroG; 30/09/2008 a las 17:57 Razón: Agregado de etiquetas highlight para resaltado de sintaxis