AnsweredAssumed Answered

How do i represent the degree (°) & Minute (') symbols in my Python Script

Question asked by GISGURU_001 on Oct 1, 2013
Latest reply on Oct 3, 2013 by GISGURU_001
I tried to populate a field by using the line below in my script but I got the error message below. Please how can I represent the degree (°) & Minute (') symbols in my Python Script. Any suggestions?


arcpy.CalculateField_management("GISMainFabric_Line_Clip_0","Bear",'[NUM1] & "°" & [NUM2]',"VB") File "C:\Users\Administrator\AppData\Local\ESRI\Desktop10.1\AssemblyCache\{7F12A0CE-D617-8330-5EBC-E045415D9345}\PlanTool_addin.py", line 105 SyntaxError: Non-ASCII character '\xb0'

Outcomes