Jul-08-2019, 12:16 PM
(Jul-08-2019, 10:15 AM)snippsat Wrote:(Jul-08-2019, 07:32 AM)starter_student Wrote: but now I have another error TypeError: a bytes-like object is required, not 'str'... can you help me with the code?Next time post wholeTraceback
,it will also tell line number that problem occur in this case 39.
Changefilename, 'wb'
tofilename, 'w'
.
Thks for the advice ... already done ! :) I removed the 'b'
and now there is no error but the output file is empty just with headers