You can try one of the following two approaches:
Here I am reading a tab-separated CSV file. If you have a comma or semicolon as the separator, you can modify the code accordingly.
Approach 1
with open("yourfile.csv", "r") as fin: v_dict = {v.strip().split('\t')[0]: v.strip().split('\t')[1] for v in fin}
with open("yourfile.csv", "r") as fin:
v_dict = {v.strip().split('\t')[0]: v.strip().split('\t')[1] for v in fin}
Approach 2
with open("yourfile.csv", "r") as fin: v_dict = dict(line.strip().split('\t') for line in fin)
v_dict = dict(line.strip().split('\t') for line in fin)