【发布时间】:2010-10-12 19:21:51
【问题描述】:
我需要你的帮助, 我正在使用 Eclipse 和 Pydev 插件作为 python IDE。
我已经配置并设置了环境变量、库等 我创建了一个项目和一个模块。
当我编写这些行并运行程序时,它给出了一个错误:
`a = 3
b = 4.6
print "%d is the value of a, %.2f is the value of b" %(a, b)`
错误信息是:
SyntaxError: Non-ASCII character '\xfd' in file C:\Users\dell\workspace\Deneme\src\test1\o3.py on line 9, but no encoding declared; see @987654321@ for details
但是,当我在 IDLE 中编写相同的行时,它运行时没有错误。
Pydev 出了什么问题??
【问题讨论】: