def delete(self, item_name): """Delete a file or directory.""" try: if os.path.isfile(os.path.join(self.current_dir, item_name)): os.remove(os.path.join(self.current_dir, item_name)) print(f"File '{item_name}' deleted successfully.") elif os.path.isdir(os.path.join(self.current_dir, item_name)): shutil.rmtree(os.path.join(self.current_dir, item_name)) print(f"Directory '{item_name}' deleted successfully.") else: print(f"'{item_name}' not found.") except Exception as e: print(f"An error occurred: {e}")

She moved. It wasn't the clumsy sprint of an amateur; it was a fluid, terrifyingly fast traversal. She vaulted the gap between buildings, landing without a sound. The guards didn't hear her approach over the city's din, and they certainly didn't see her drop from the sky.

option = input("Choose an option: ")