Nov-11-2020, 03:17 PM
what python version do you use?
as to the TypeError - you read the whole file as one big string, you need to read and parse line by line and split the information on each line in chunks that you pass to create instance of Volunteer class. There are also other issue with your code, but not critical
as to the TypeError - you read the whole file as one big string, you need to read and parse line by line and split the information on each line in chunks that you pass to create instance of Volunteer class. There are also other issue with your code, but not critical
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs