I’m a beginner in Python and have a file i’ve read in that has an Market_ID field. While looping over this file (list), I need to access the Market_name in a 2nd file (Market_ID,Market_Name).
What’s the best place for me to start? I can give more detail on what the program is doing if necessary.
The files(lists) are laid out as follows:
File1: Cust_ID, Market_ID, Cust_Name, IsNew
File2: Market_ID, Market_Name
My main loop is over File1. I need to be able to access the Market_Name from File2 to be able to place it in a new file i’m creating from data in File1. Hope that helps.
More about dictionaries,
More about sqlite