PythonOOP
PythonOOP copied to clipboard
Fixing error in column names
column names should be "name,price,quantity" not "name, price, quantity", otherwise list item will be {'name': 'Phone', ' price': '100', ' quantity': '1'} when reading CSV
column names should be "name,price,quantity" not "name, price, quantity", otherwise list item will be {'name': 'Phone', ' price': '100', ' quantity': '1'} when reading CSV
thank you so much , just fixed it!
@prabathbr.. Thank you so much bro. Your comment solved my error which was bugging me..
(Instance.name) is not working.