problem:
Because pycharm, the default encoding attribute of the file is set to UTF-8, and taken out dir Windows GBK information encoded form. So garbled when printed.
solution:
In the following settings, the encoding format is set to GBK, setting project encoding only valid