TypeError: write() argument must be str, not bytes
Mar 18, 2021
issue solved.
I was trying to open the file in ‘w’(write) mode and I got error like below.
So, the simple solution is to change the file opening model from w
to wb
. like below:
I hope your problem is solved now, please clap and SUBSCRIBE my YOUTUBE channel.
Thanks!