generate random address for contact to register

This commit is contained in:
2024-03-19 23:38:36 +01:00
parent 2d998c68a9
commit 7a74b07d54
@@ -34,8 +34,8 @@ def write_new_contacts_to_register_to_excel(valid_contacts: list, file_name=str(
for col_num, data in enumerate(header_data):
worksheet.write(row, col_num, data, header_format)
row = row + 1
_choosed_address = random.choice(_address_list)
for info in valid_contacts:
_choosed_address = random.choice(_address_list)
_password = "Rdv@{}".format(random.randint(20222021, 20222300))
# Iterate over the data and write it out row by row.
worksheet.write(row, col, info.first_name)