I want to write Bytes into a text file, but my problem is that I do not know how I can do this.
I tried to write bytes with the write() function into a text file but I got the error: 

```
TypeError: write() argument must be str, not bytes

```