Advertisement
Guest User

Untitled

a guest
May 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import wx
  2. import wx.grid
  3.  
  4. class TestFrame(wx.Frame):
  5. def __init__(self):
  6. wx.Frame.__init__(self, None, title="Grid",size=(640,480))
  7. grid = wx.grid.Grid(self)
  8. grid.CreateGrid(50,50)
  9. for i in range (0,10):
  10. grid.SetCellValue(i,0,"jaime")
  11. #grid.Editable(False)
  12.  
  13. app = wx.PySimpleApp()
  14. frame = TestFrame()
  15. frame.Show()
  16. app.MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement