Why my python just throw an error call:
code, fname = _get_code_from_file(run_name, path_name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 239, in _get_code_from_file
code = compile(f.read(), fname, 'exec')
ValueError: source code string cannot contain null bytes
It was fine yesterday and it just have problem today.
It was never happened before and I don't know What is null bytes
Other people have this problem are all because using UTF-16 etc. but I'm really using UTF-8 and it really made me headache.
My IDE is VSCode and I'm using UTF-8