I wrote the following code as a wrapper around messages pushed during the running of the script. Using Python IDLE this works fine, but in Eclipse I get the following output:
def ESRIP(gp,message):
"""Prints messages into ArcGIS Script window"""
message = str(message)
gp.AddMessage(message)
return message
print ESRIP(gp, "processing one million points")
Any thoughts on how I can remove the weird text?