/+junk/Dataanalys

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/Dataanalys

« back to all changes in this revision

Viewing changes to awnsers_and_db_edit.py

  • Committer: Gustav Hartvigsson
  • Date: 2010-12-21 21:51:18 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20101221215118-j31e55alodco5xhd
fixed som shit and started the initial work on the awnser sheet...
but there is a problem I do not know how to fix, and have been waiting the mostport of the day for an ownser on a forum..... Damn forums are slow thees days.....

------------- This line and the following will be ignored --------------

added:
  awnser_sheet.py
modified:
  README
  awnsers_and_db_edit.py*
  createDB.sql
unknown:
  sqlAwnsersStart.sql

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        menuOptionsInput = input(">>>>")
35
35
 
36
36
        #ifs and thens
37
 
        if(menuOptionsInput == 1 or menuOptionsInput.lower() == "s" ):
 
37
        if(menuOptionsInput == "1" or menuOptionsInput.lower() == "s" ):
38
38
                dbShow()
39
39
                
40
 
        elif(menuOptionsInput == 2 or menuOptionsInput.lower() =="e" ):
 
40
        elif(menuOptionsInput == "2" or menuOptionsInput.lower() =="e" ):
41
41
                dbEdit()
42
42
        
43
 
        elif(menuOptionsInput == 3 or menuOptionsInput.lower() == "a" ):
 
43
        elif(menuOptionsInput == "3" or menuOptionsInput.lower() == "a" ):
44
44
                dbAdd()
45
45
        
46
 
        elif(menuOptionsInput == 4 or menuOptionsInput.lower() == "q" ):
 
46
        elif(menuOptionsInput == "4" or menuOptionsInput.lower() == "q" ):
47
47
                exit()
48
48
        
49
49
        else: