No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Check that the returned data is a number and not a character, if it is then cast it to an integer. eg. String s = reading; int i = Integer.parseInt(s); All the best...
Hey I took your code and played with it try this [CODE] import wx window=wx.App() class s_report(wx.Frame): def __init__(self): wx.Frame.__init__(self,None,-1,"Grade It!",size=(500,700)) self.panel=wx.Panel(self,-1) menu=wx.MenuBar() file_menu=wx.Menu() file_menu.Append(301,"Quit") self.Bind(wx.EVT_MENU,self.Quit,id=301) help_menu=wx.Menu() help_menu.Append(302,"About") self.Bind(wx.EVT_MENU,self.about,id=302) menu.Append(file_menu,"File") menu.Append(help_menu,"Help") self.SetMenuBar(menu) wx.StaticText(self.panel,-1,"Welcome to Grade It!.\nPlease enter your exam marks for 12 subjects. Your highest\nscoring and lowest scoring subject, along …
The End.
OldOne