Edit:
@Richard Law,
So, I added an import arcpy statement as my first line of script but didn't get to far because I received the following:
import arcpy
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_init_.py", line 24, in
from arcpy.toolbox import *
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\toolbox.py", line 351, in
from management import Graph, GraphTemplate
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 22, in
import _management
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_management.py", line 14, in
import _graph
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_graph.py", line 27, in
import numpy
ImportError: No module named numpy
** This import error occurred earlier except that time it said "No module named arcpy"
Overall, I've been having a number of errors and issues, and it seems like I should remove/reinstall ArcGIS and Python. Both seem to be located in two different locations on my computer. One location is the C:\ and the other is C:\users. I'm looking in the property files for both, the first has 6,145 files and 33 folders while the second has 63 files and 3 folders.
A little more background:
Within the first folder location C:(labeled ArcGIS10.2) there's a Python folder and a bunch of other folders. Also, there is a separate folder not nested with the ArcGIS10.2 folder, but alongside labeled Python27, which contains 5,477files and 249folders.
Within the second folder location, C:\users\ (labeled ArcGIS) there's a pywin32-218.win-amd64-py2.7 application file.
My conclusion:
This all seems like an unorganized mess, so I'm tempted to delete everything and start over. I'm new to using Python but have used ArcGIS over the last year and a half so when I first installed everything I didn't pay much attention to Python. About 2 months ago I slowly started to begin learning Python, outside of the ArcGIS environment, and downloaded a version of Python2.7. Now that I have a little more experience with GIS etc. I'm much better at trouble shooting and figuring things out, but this seems like a crazy mess of unorganized and broken files/programs etc.!
I am due for an upgrade to ArcGIS 10.3 (with my student license) so perhaps starting fresh would be easier than trying to fix everything. At least then I would have a better idea if what I encounter is user error or something else.
Any thoughts?