import os

# Read the original file
with open(r'c:\MAMP\htdocs\bidda\fees\verify_bank_transactions.php', 'r', encoding='utf-8') as file:
    lines = file.readlines()

# Remove lines 269-329 (index 268-328 since indexing starts from 0)
# We want to keep lines 0-267 and 329 onwards (skipping the duplicate section)
new_lines = lines[:268] + lines[329:]

# Write the modified content back to the file
with open(r'c:\MAMP\htdocs\bidda\fees\verify_bank_transactions.php', 'w', encoding='utf-8') as file:
    file.writelines(new_lines)

print("Duplicate section removed successfully!")