How to output Chinese in python

silencement
Release: 2019-05-20 19:59:21
Original
11714 people have browsed it

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

How to output Chinese in python

and in interactive mode output

How to output Chinese in python

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template