I built a model using model builder which I want to run using a python script. 

The error i get is:

> 
> AttributeError: Object: Tool or environment not
>  found
> 
> 
> 

Can anyone please help me solve this as I am new to python.

The script I found online is:

```
import sys, string, os, arcgisscripting
import arcpy
arcpy.ImportToolbox
arcpy.env.workspace = 'Path of my geodatabase'
arcpy.env.overwriteOutput = True
# Create the Geoprocessor object...
gp = arcgisscripting.create() 

# Set the License...
gp.SetProduct("ArcView") 

# Load required toolboxes...
gp.AddToolbox("Path of my toolbox")

# Set the Overwrite property to True
gp.OverwriteOutput = 1 

# Run the model
# All arguments were supplied to model prior to saving
gp.MultiLine_Geocoder() 

```