


from pathlib import Path

import fire






def 					lowerCamelCase_   (	_a     ,       _a     ,       _a	):




		"""simple docstring"""






		lowerCAmelCase__       :      Tuple   					= Path(_a	)
		lowerCAmelCase__       :      int   					= Path(_a	)
		dest_dir.mkdir(exist_ok=_a	)
		for path in src_dir.iterdir():
				lowerCAmelCase__       :      Any   					= [x.rstrip() for x in list(path.open().readlines()	)][:n]
				lowerCAmelCase__       :      Union[str, Any]   					= dest_dir.joinpath(path.name	)
				print(_a	)
				dest_path.open('''w'''	).write('''\n'''.join(_a	)	)


if __name__ == "__main__":
		fire.Fire(minify)








def 					lowerCamelCase_   (	_a	):




		"""simple docstring"""






		if number < 0:
				raise ValueError('''number must not be negative'''	)
		return number & (number - 1) == 0


if __name__ == "__main__":
		import doctest

		doctest.testmod()




