#include <windows.h> //设置文字颜色void SetColor(int ForgC){ WORD wColor; //We will need this handle to get the current background attribute HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); CONSOLE_SCREEN_BUFFER_INFO csbi; //We use csbi for the wAttribut
1.编译python遇到下面的编码问题: SyntaxError: Non-ASCII character '\xe9' in file E:\projects\learn.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 解决方法:解决方法:源代码文件第一行添加:#coding:utf-8 2.python快速教程:http://www.cnb