[Trouble Shooting - Python] ValueError: source code string cannot contain null bytes
1. Background: python 3/win10
2.Error Line: import custom_python
- custom_python.py 是通过dict(re.findAll()) - 将findAll()返回的list强行转换成的dict保存为文件
3. Solution
- 把custom_python.py用notepad打开后,另存为UTF-8(本来是unicode)