


'''simple docstring'''






import os
import sys
import time

from . import transposition_cipher as trans_cipher






def 						_A					() ->	Dict:




     '''simple docstring'''



     _a         =				'Prehistoric Men.txt'
     _a         =				'Output.txt'
     _a         =				int(input('Enter key: '		)		)
     _a         =				input('Encrypt/Decrypt [e/d]: '		)

     if not os.path.exists(UpperCamelCase__		):
          print(f'File {input_file} does not exist. Quitting...'		)
          sys.exit()
     if os.path.exists(UpperCamelCase__		):
          print(f'Overwrite {output_file}? [y/n]'		)
          _a         =				input('> '		)
          if not response.lower().startswith('y'		):
               sys.exit()

     _a         =				time.time()
     if mode.lower().startswith('e'		):
          with open(UpperCamelCase__		) as f:
               _a         =				f.read()
          _a         =				trans_cipher.encrypt_message(UpperCamelCase__					,    UpperCamelCase__		)
     elif mode.lower().startswith('d'		):
          with open(UpperCamelCase__		) as f:
               _a         =				f.read()
          _a         =				trans_cipher.decrypt_message(UpperCamelCase__					,    UpperCamelCase__		)

     with open(UpperCamelCase__					,    'w'		) as output_obj:
          output_obj.write(UpperCamelCase__		)

     _a         =				round(time.time() - start_time					,    2		)
     print(('Done (', total_time, 'seconds )')		)


if __name__ == "__main__":
 main()






"""simple docstring"""






from transformers import ProcessorMixin




class    __snake_case(					__A       ):
    _A       = '''AutoFeatureExtractor'''
    _A       = '''AutoTokenizer'''
