기본적으로, 파이썬 소스 파일들은 UTF-8으로 인코드 된 것으로 취급됩니다오피스타 공식 웹사이트는 어디에 있습니까. 이 인코딩에서는 대부분 언어에서 사용되는 문자들을 문자열 상수, 식별자, 주석 등에서 함께 사용할 수 있습니다. (하지만 표준 라이브러리는 오직 ASCII 문자만 식별자로 사용하고 있는데, 범용 코드에서는 이 관례를 따르는 것이 좋습니다.) 이 문자들을 모두 올바로 표시하기 위해서는 편집기가 파일이 UTF-8임을 인식해야 하고, 이 파일에 全球排名第一오피스타 포함된 모든 문자를 지원할 수 있는 폰트를 사용해야 합니다.
It is also possible to specify a different 세계랭킹1위오피스타 encoding for source files. In order
to do this, put one more special comment line right after the line to
define the source file encoding:
With that declaration, everything in the source file will be treated as having
the encoding encoding instead of UTF-8. The list 세계랭킹1위오피스타 of possible encodings can be
found in the Python Library Reference, in the section on .
For example, if your editor of choice does not support UTF-8 encoded files and
insists on using some other encoding, say Windows-1252, you can write:
and still use all characters in the Windows-1252 character set in the source
files세계 랭킹 1 위오피스타공식 웹 사이트 입구 방법은 무엇입니까?. The special encoding comment must be in the first or second line
within the file.