Oct-25-2021, 02:20 PM
Hi All... can someone tell me an easy/efficient way in Python to create a lookup table that acts like Excel? My options are unlimited, but I cannot find just what I am looking for. I have a GUI where someone scans in a Badge# and I am writing that to a text file with other data. I need to either create a lookup table to get the persons name so that when I write the data, it shows both.
Example: Badge Input Scan: 8923468 Needs to become: 8923468 (John Smith) I can fill a simple text file like: 8923468, John SmithI just need to find the simplest method for accomplishing this task and how to search the name like a VLOOKUP would do. Thanks