



import os
import sys
import time

from . import transposition_cipher as trans_cipher






def        a( )						->			None:
					"""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(snake_case_			):
										print(f'''File {input_file} does not exist. Quitting...'''			)
										sys.exit()
					if os.path.exists(snake_case_			):
										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(snake_case_			) as f:
															a   	=  f.read()
										a   	=  trans_cipher.encrypt_message(snake_case_					,	snake_case_			)
					elif mode.lower().startswith("d"			):
										with open(snake_case_			) as f:
															a   	=  f.read()
										a   	=  trans_cipher.decrypt_message(snake_case_					,	snake_case_			)

					with open(snake_case_					,	"w"			) as output_obj:
										output_obj.write(snake_case_			)

					a   	=  round(time.time() - start_time					,	2			)
					print(("Done (", total_time, "seconds )")			)


if __name__ == "__main__":
				main()



from ..utils import DummyObject, requires_backends


class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)



class      lowerCamelCase_ (			metaclass=_lowerCAmelCase):
 _lowerCAmelCase									=	['''vision''']




 def __init__(			self  ,  *_UpperCAmelCase  ,  **_UpperCAmelCase							):
   requires_backends(self  ,  ['vision']							)





