Trying to move my application to Python 3.4...
My code:
def Continue(self):
exec(open(b"file.py").read())
My error:
TypeError: can't use a string pattern on a bytes-like object
My (miss)understanding is that by prefixing the filename string with a 'b' I am turning it into the required bytes like object.
Can anyone elighten me?