#-*- coding:utf-8 -*-

 

/usr/bin/python2.7 /home/chaoxing/Documents/PycharmProjects/Keras/test04.py
  File "/home/chaoxing/Documents/PycharmProjects/Keras/test04.py", line 2
SyntaxError: Non-ASCII character '\xe5' in file /home/chaoxing/Documents/PycharmProjects/Keras/test04.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Process finished with exit code 1

在程序第一行添加

#-*- coding:utf-8 -*-

 

你可能感兴趣的:(Python笔记)