My code:
fd = open('C:\Python27\\alu.txt', 'r')
D = dict(line.split("\n") for line in fd)
It shows the following error
traceback (most recent call last):
File "C:\Users\ram\Desktop\rest_enz3.py", line 8, in <module>
D = dict(line.split("\n") for line in fd)
ValueError: dictionary update sequence element #69 has length 1; 2 is required