subtraction is giving me a syntax error
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Mon Mar 15 18:33:33 EDT 2010
On Mon, 15 Mar 2010 18:09:29 +0000, Grant Edwards wrote:
>> Delete the character between "y_diff" and "H" and replace it with a
>> plain ASCII subtraction sign.
>
> I think somebody needs to stop editing his code with MS Word and start
> using a programming editor. ;)
I've had this error myself, and I've never used Word to edit code. It can
happen if you copy code from a website that "helpfully" converts hyphens
to en-dashes, spaces to non-breaking spaces, or inserts ctrl-Z characters
into strings, etc. They're a devil to debug.
--
Steven
More information about the Python-list
mailing list