The file is empty after python saves the file

The main reason may be that the file name is incorrect, including the following situations:

  1. Change the "/" in the filename to double "//"
  2. The file name is wrongly written, and it is not exactly the same as the actual file name
  3. If it is a concatenated file name, confirm the existence of "//" and check whether there is any omission

Guess you like

Origin blog.csdn.net/weixin_39107270/article/details/130772081
Recommended