Home > Article > Backend Development > How to output Chinese in python

For python3.0 or above, the default encoding format. So we don't have to think about string encoding.
#You can use the print statement to output Chinese in python. For example, in command line mode output

and in interactive mode output

The above is the detailed content of How to output Chinese in python. For more information, please follow other related articles on the PHP Chinese website!