Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Anyone know how to replace degree symbol?

$
0
0
For some reason I am unable to replace the Degree symbol with the field calculator. I'm guessing it has something to do with the formatting of the degree symbol.

This does not work

Code:

!Mapping_Angle!.replace("°", "-")
UPDATE: Problem solved, found an easy workaround. Since this did not work, I just used Excel to find and replace all degree signs with a dash. It's not so picky.

Viewing all articles
Browse latest Browse all 2485

Trending Articles