Could anyone shed light on what is happening here?

In a sage notebook cell I wish to load a python file; I wrote the command:

load("/Users/jim/Documents/Fluid_Mechanics/AA543_HW2/physical_constants.py")

which produces:

SyntaxError: Non-ASCII character '\xce' in file
/Users/jim/Documents/Fluid_Mechanics/AA543_HW2/physical_constants.py on
line 2, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details

I am unable to find the offending character in the file. In fact I deleted the 
first 20 lines of the file (it contains only variable definitions) and I still 
get the same error pointing to "line 2".

I have used the load command successfully in the past with a different python 
file.

Running sage 4.7.2 on an iMac with OS X 10.6.8

Thanks in advance for any insights.
Jim Clark

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to