AnsweredAssumed Answered

Python String Symbols

Question asked by mbd7878 on Aug 5, 2013
Latest reply on Aug 5, 2013 by mbd7878
In ArcGIS 10.1 - python 2.7 this use to work:

arcpy.CalculateField_management(CenterPoint,LongDMS,"!DMSLon![1:3] + \"º\" + !DMSLon![4:6] + \"'\" + !DMSLon![7:9] + \"'' \" + !DMSLon![15]","PYTHON")

However it fails in ArcGIS 10.2 - python 2.7

I have narrowed down the problem to the degree symbol.  I got the symbol in Python by holding down ALT and entering in 167.  Any ideas why this now fails when I run my toolbox script with this and how to fix it?  Or any suggestions for a work around?

Your help is much appreciated.

Outcomes