import os

def rename_files_in_directory():
    # Get the current directory
    current_directory = os.getcwd()

    # Iterate over all files in the current directory
    for filename in os.listdir(current_directory):
        # Check if the file is a PNG file
        if filename.endswith('.png'):
            # Replace hyphens with dots in the filename
            new_filename = filename.replace('-', '.')
            
            # Create full paths for the old and new filenames
            old_file_path = os.path.join(current_directory, filename)
            new_file_path = os.path.join(current_directory, new_filename)
            
            # Rename the file
            os.rename(old_file_path, new_file_path)
            print(f'Renamed: {filename} -> {new_filename}')

# Call the function to rename the files
rename_files_in_directory()
