Δημοσιεύτηκε: 06 Νοέμ 2010, 00:20
παιδια έγραψα αυτό στο python shell και μου λεει:
Your indetication mixes tabs ή
your indetication is outwrite correct
Ο κώδικας είναι:
import wx
class bucky(wx.Frame):
def __init__(self,parent,id):
wx.Frame.__init__(self,parent,id,'Frame', size=(300,200))
if __name__=='__main__':
app=wx.PySimpleApp()
frame=bucky(parent=None,id=-1)
frame.Show()
app.MainLoop()
Your indetication mixes tabs ή
your indetication is outwrite correct
Ο κώδικας είναι:
Spoiler: show
class bucky(wx.Frame):
def __init__(self,parent,id):
wx.Frame.__init__(self,parent,id,'Frame', size=(300,200))
if __name__=='__main__':
app=wx.PySimpleApp()
frame=bucky(parent=None,id=-1)
frame.Show()
app.MainLoop()