This is probably a silly question, but I'm having a problem whenever I load a Python script in ArcMap where extra dots are loaded with the script (see below) that I must manually delete prior to running the script. This gets quite annoying, especially when having to run long scripts multiple times. Whenever I write a new script, I just click 'Save As' and specify a Python file, and later load the Python file through the Python window. Is there any way to format the Python files/properties to avoid this from occurring?
... ... # Import system modules ... ... import arcpy ... ... from arcpy import env ... ... from arcpy.sa import * ... ... import math