()
| 24 | print '(2) Quit Application' |
| 25 | |
| 26 | def main_query(): |
| 27 | while True: |
| 28 | try: |
| 29 | select = int(raw_input('Select: ')) |
| 30 | if 0 < select < 3: |
| 31 | return select |
| 32 | else: |
| 33 | print 'ERROR: Selection Must Be 1 Or 2' |
| 34 | except Exception, error: |
| 35 | if error.__class__ is EOFError: |
| 36 | |
| 37 | print 'ERROR: Selection Must Be A Number' |
| 38 | |
| 39 | def workspace(): |
| 40 | try: |