I have a python script that reads a csv file and converts it to two new files so that my database can add new emails or update existing ones. What im trying to do now is after it has converted them for it to send me a email with how many rows it processed for both the add adn update file. I have the email part workign what has me stuck is the counting of the rows which for somereason everything i have tried returns me actual values from the files and not a number like im wanting to to. could someone please help me figure this out.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.