So I've tried the code below and after running this code it simply prints " ". Can someone point out what I'm doing wrong, or what I could do to fix this
file1 = open("Binaryfile.bin","wb+")
v = bytes("Hello World","ascii")
file1.write(v)
v = file1.read()
v = v.decode('ascii')
print(v)
file1.close()