Differences:
◆Use Python's os.system to run CMD commands
◆Use the command line tool that comes with Windows to run CMD commands
CMD
under Python : Add the following code to the Python program to temporarily change the code of the current CMD window toutf-8
import os
os.system('chcp 65001')