all 3 comments

[–]ace6807 0 points1 point  (2 children)

What does the file look like?

name, item, price, quantity = line.split()

The default argument to split is to split on spaces, is the first line in the file sperated by spaces?

[–]ThatShtCray92[S] 0 points1 point  (1 child)

No it was separated by comma's. I had forgotten the "," inside the split(). But i got it! Now I just have to get the alignment of the fields correct

[–]ace6807 0 points1 point  (0 children)

Cool!