I have a text file(computer.txt) with informations about (computer ID) (computer brands), (price) and (computer parts:number required). It looks like the following
comp123, Sam sung, GC323:3,MC202:2,KB132:1
comp423, Acer, GC232:1,SP666:2,WC132:3
comp341, Asus, LP123:3,MM231:3,LA123:3
How can i read this text file and output as a dictionary.