()
| 57 | |
| 58 | |
| 59 | def get_file(): |
| 60 | while True: |
| 61 | try: |
| 62 | return file(raw_input('Filename: '), 'rb', 0).read() |
| 63 | except Exception, error: |
| 64 | if error.__class__ is EOFError: |
| 65 | raise EOFError |
| 66 | else: |
| 67 | print 'ERROR: Filename Is Invalid' |
| 68 | |
| 69 | def work_menu(): |
| 70 | print '(1) Extract *.BMP' |