xxxxxxxxxx
import os
file_path = '/usr/local/lib/x86_64-linux-gnu'
if os.path.exists(file_path):
# File or directory exists
# Proceed with the necessary operations
pass
else:
# File or directory does not exist
# Handle the error or perform alternative actions
print(f"Error: '{file_path}' does not exist.")