Hello all,
I have wrote this program to determine a student's classification:
# This program will print out the class standing of an individual
# Uses a four way decision process
def main():
credits = input ("Enter the number of credits earned: ")
if credits >= 26:
class_standing = "Senior"
elif credits >= 16:
class_standing = "Junior"
elif credits >= 7:
class_standing = "Sophomore"
else:
class_standing = "Freshman"
print "Your credit total earn you the classification of a %s." %(class_standing)
if __name__ == "__main__":
main()
The problem I have now is that the professor wants me to develop it into a graphical user interface usinG PyGTK BUT with the following stipulations:
The program is to be completely object-oriented,
All variables should be instance variables, and
All functions that handle signals should be bound methods.
I do not and can not get the graphics setup on my computer so I need all the help I can get so I can take it back out to our Lab and give it a try there. Thanks in advance for any and all help possible.