Python common resources and questions

zhaozj2021-02-16  51

Python common resources and questions

Frequently Asked Questions One:

There is a Chinese comment in the source file and run an error solution. ----------- C: /> Python Test-1.pysys: 1: DepRecationWarning: Non-Ascii Character '/ xd7' in File Test-1.py on line2, but no encoding declared; see Http://www.python.org/peps/pe-0263.html for detail, Hello, the world!

----------- Go to http://www.python.org/pes/pez263.html to find the answer. In the first line of the file plus #! / Usr / bin / python # - * - CODING: - * - This is fine. I use GB2312, under Windows 98 SE. is replaced by GB2312.

Website: Python.cn and its news group SMTH.org Shuimu Tsinghua Python version LinuxForum.net Python version

转载请注明原文地址:https://www.9cbs.com/read-26373.html

New Post(0)