



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

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

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


if __name__ == "__main__":
				main()





import platform
from argparse import ArgumentParser

import huggingface_hub
import pandas
import pyarrow

from datasets import __version__ as version
from datasets.commands import BaseDatasetsCLICommand






def        a( A			:       Dict			)						->			Optional[int]:
					"""simple docstring"""





					return EnvironmentCommand()







class       _lowercase				(  lowerCAmelCase      ):





	"""simple docstring"""




	@staticmethod
	def 	UpperCamelCase_			(lowerCamelCase_						):
						"""simple docstring"""

						a   	=  parser.add_parser("env"						,			help="Print relevant system environment info."						)
						download_parser.set_defaults(func=lowerCamelCase_						)




	def 	UpperCamelCase_			(self						):
						"""simple docstring"""

						a   	=  {
						    "`datasets` version": version,
						    "Platform": platform.platform(),
						    "Python version": platform.python_version(),
						    "Huggingface_hub version": huggingface_hub.__version__,
						    "PyArrow version": pyarrow.__version__,
						    "Pandas version": pandas.__version__,
						}

						print("\nCopy-and-paste the text below in your GitHub issue.\n"						)
						print(self.format_dict(lowerCamelCase_						)						)

						return info




	@staticmethod
	def 	UpperCamelCase_			(lowerCamelCase_						):
						"""simple docstring"""

						return "\n".join([F'''- {prop}: {val}''' for prop, val in d.items()]						) + "\n"
