Arcpy Script Tool

This book teaches how to write Python code that works with spatial data to automate geoprocessing tasks in ArcGIS. com Greetings to BJS Bangalore Job Seeker from Wells Fargo! We have below job openings for our organization. They are extracted from open source Python projects. Python: Arcpy script to convert Landsat Data from Digital Numbers to Radiance to ToA Reflectance? I'm attempting to create an arcpy script to do just that through ArcMap but unfortunately my. Running A Python Script In ArcGIS Provides Python access to all geoprocessing tools and extensions in ArcGIS a. Get user input text in arcpy. ArcMap is the map display and editing workhorse for the ESRI ArcGIS Geographical Information System (GIS) software package. Create a toolbox for the Python script. Contribute to arcpy/sample-gp-tools development by creating an account on GitHub. The course starts with the basics of programming and scripting, such as what scripting is and how to write and run simple lines of code. All geoprocessing tools in ArcMap are provided as functions in ArcPy b. There's another benefit to this example, though. It is most widely used for map creation, but also has broad capabilities for editing and analysis. Even users not proficient in Python scripting are able to harness the power of the Field…. In this video, Jennifer Harrison demonstrates how to write a script that uses ArcPy and the mapping module. Once the tool is (essentially) the way you want it, create the toolbox and script tool within ArcMap. The second script is suppose to be a modified version of the first script. It helps to eliminate tedious manual edits through the use of VBA Script Functions and Python Functions. NIM066711 - The Generate Near Table tool crashes when processing more than one feature class in the Near Features field. Once the tool is (essentially) the way you want it, create the toolbox and script tool within ArcMap. These (~20) tools were created as representative samples for how arcpy. Wednesday we will begin working with raster analysis in arcpy. Contribute to arcpy/sample-gp-tools development by creating an account on GitHub. Let's add a final message for the user that the process was successful. In this video, Jennifer Harrison demonstrates how to write a script that uses ArcPy and the mapping module. A complete professional GIS. In the meantime, please let me know if you do run into problems or are suspicious of the output. mapping • When using CURRENT - Always run in foreground (checkbox in script tool properties). They provide a quick way to move the view in your Image window between a set of "places" that you need to revisit frequently. Arcpy Interfaces. PthPython scritipts can be made itinto tltools - Extend functionality of ArcGIS 4. It helps to eliminate tedious manual edits through the use of VBA Script Functions and Python Functions. I would like to write a python script that would run the tool a few times. Python Toolbox Tools. arcpy sample tool python script. ArcPy - Geoprocessing environment settings •Control the processing environment of the tools you run-“Global” Environment Variables-See tool help for honored environments •Productivity and code cleanup •Environments are properties on arcpy. Tools to look professional and impress clients. Following this, the course covers more sophisticated aspects and dive into the spatial analysis utilizing the benefits of the ArcGIS programming toolS like the Modelbuilder and the ArcPy package. All tools in ArcToolbox can be accessed from Python - Import ArcPy to get full library of tools 3. x App: ArcMap, PythonWIN Overview Python is becoming more and more popular for writing custom scripts in ArcGIS. Settings made in the application, such as arcpy. 0 - June 29, 2010 • Successor to arcgisscripting module • Create tools leveraging ArcGIS - In-Application Geoprocessing Tools and Scripting - REST Web Services - Standalone Python Programs • 1,000+ ArcPy-based Tools Included in ArcGIS 7. Records layout position, size, and extents of north arrows, scale bars/text, and data frames. This can be done by using arcpy's function called. sample arcpy and Python geoprocessing tools. The second edition of the book focuses on new Python tools, such as the ArcGIS API for Python. From the Developer Blog; Jun 25, 2019 Using Jupyter Notebook for AGRC Collaboration. During scripting and debugging, it is simplest to hard-code the function's input variables to verify that the function is working. This can be done by using arcpy’s function called. The user supplies the input # and output paths, and the buffer distance. account # & name). GetParameterAsText(0) function will read an input parameter from an ArcGIS tool. Using Python, this book will guide you from basic Python scripting to advanced ArcPy script tools. Note: Course concepts apply to ArcGIS 10. - Python scripts can be run as custom tools in ArcMap. AddToolbox() function to add the custom toolbox. Question asked by ubanide on Jun 7, 2012 Latest reply on May 6, That is, write it as a script tool with the report name as a parameter. NIM066711 - The Generate Near Table tool crashes when processing more than one feature class in the Near Features field. Your tool reads these values and proceeds with its work. It is also possible to allow Python installations that were not installed by ArcGIS to access Arcpy functionality. The arcpy site package is only available inside the scope of this function. This instruction sheet will direct you to ArcGIS Desktop tools that can be used to convert to and from Shapefiles (SHP) and Google Earth files (KML). The release of the ArcMap constituted a major change in Esri's software offerings, aligning all their client and server products under one software architecture known as ArcGIS, developed using Microsoft Windows COM standards. path to enable Use geoprocessing objects and tools to simplify. mxt or in All Standard Projects - if stored in the Normal. I need to run this tool multiple times with the output of one run being one of the inputs of the next run. A geoprocessing service can be accessed through the Python window in ArcMap, a script tool, or a stand-alone script. To achieve this, do the following:. This script imports the arcpy module, assigns the feature class locations we specified in ModelBuilder to variables, and calls the Delete Rows geoprocessing tool. This tool draws graphic lines on the map based upon user interaction with the mouse. This portion of the script works. *FREE* shipping on qualifying offers. I am trying to modify the first script and convert it into a custom ArcGIS tool. Opening the command prompt. Create a python script tool in ArcGIS, and combine it in Model builder. I will do my best to fix any problems that you encounter. This tool was created using Python, or more specifically ESRI’s ArcPy module. See the complete profile on LinkedIn and discover Aigerim’s connections and jobs at similar companies. There are over 200 tools that come with ArcMap. Python Parser for Field Calculating and Labeling. In the example below the VB. It is most widely used for map creation, but also has broad capabilities for editing and analysis. com Greetings to BJS Bangalore Job Seeker from Wells Fargo! We have below job openings for our organization. x App: ArcMap, PythonWIN Overview Python is becoming more and more popular for writing custom scripts in ArcGIS. A terrific technology to support these values is the Jupyter Notebook project. ImportToolbox function. Uses Arcpy to iterate through all feature classes in a feature dataset to create and populate new fields. It helps to eliminate tedious manual edits through the use of VBA Script Functions and Python Functions. Web Developer toolbar for firebox; Above are just sample tools. import os import arcpy. This book will guide you from basic Python scripting to advanced ArcPy script tools. ArcGIS has a good documentation that should be used for searching the information about how different functions are used. A terrific technology to support these values is the Jupyter Notebook project. It should be noted that there are many different tools that will perform the same tasks, these are simply the easiest ones to use. Hi, I'm not familiar with arcpy, but I can say that any arcpy method will not accept FME objects directly since there is no compatibility between arcpy and fmeobjects. Creating a drop-down list for arcpy script tool. Opening the command prompt. If you are unfamiliar with Python, ArcPy, or script tools, skip to the Getting started with Python, ArcPy, and script tools section below for a list of useful topics. The solution is to rewrite the tools in a. GetParameterAsText() where the index value of the parameter is passed to the function (where number 0 is the first parameter). For example, create one type for water bodies and another for buildings. Create a toolbox for the Python script. Explore Wells Fargo job openings in Chennai Now!Tag: wells fargo ab initio interview questions. Within ArcGIS means you create a script tool inside a toolbox. ArcPy provides access to geoprocessing tools as well as additional functions, classes, and modules that allow you to create simple or complex workflows quickly and easily. This post describes how to do each of these as well as some general considerations. From the Developer Blog; Jun 25, 2019 Using Jupyter Notebook for AGRC Collaboration. In this video, Jennifer Harrison demonstrates how to write a script that uses ArcPy and the mapping module. The ArcPy way. What is a Python add-in?. GetParameterAsText(0) function will read an input parameter from an ArcGIS tool. The Field Calculator provides GIS users with a powerful way to efficiently edit attribute table field values. ArcPy ArcGIS Python site-package • Introduced in ArcGIS 10. mapping,python,map,scripting,script,tools,automation tools were created as representative samples for how arcpy. The main drawback to using the Python environment (case #2) is that you have less flexibility with the ArcMap program. Contains tools to record, restore, and reset layouts of data driven page (DDP) enabled mxds. The extension the tools are in is not checked out in the script. I have a tool I made with a python script called 'myTool' in a toolbox called 'myBox', alias 'box'. For example, you may have a script that updates an existing table in a known workspace. There's another benefit to this example, though. AddToolbox() function to add the custom toolbox. Using a geoprocessing service in Python scripts; ImportToolbox; ModelBuilder: migration to. ArcMap is the map display and editing workhorse for the ESRI ArcGIS Geographical Information System (GIS) software package. It is also possible to allow Python installations that were not installed by ArcGIS to access Arcpy functionality. , the Multiple Ring Buffer tool) in edit mode. To learn more about parameters, see Understanding script tool parameters. In this video, Jennifer Harrison demonstrates how to write a script that uses ArcPy and the mapping module. For example, you may have a script that updates an existing table in a known workspace. The tool outputs a scalar value as opposed to a dataset. BUG-000083434 Creating a geometric network on RHEL 6. The Field Calculator provides GIS users with a powerful way to efficiently edit attribute table field values. It does not refer to any raster or rely on any specific raster to set its extents. GetParameterAsText() where the index value of the parameter is passed to the function (where number 0 is the first parameter). Spatial Placemarks are geographic locations that you can define and access later. To learn about writing scripts, the ArcGIS Desktop Help topic Geoprocessing > Writing geoprocessing scripts is a good place to start. Get user input text in arcpy. Is it possible to use ArcPy scripts outside of ArcGIS? On a computer with ArcGIS installed but inside of Python. Beginning GIS Programming Using ArcGIS 10. Batch reprojection, or the reprojection of many datasets at once, is a task well suited to scripting. When using the Python window inside of ArcMap the module is automatically loaded, will be discussed in a future module. Your tool reads these values and proceeds with its work. It is also possible to allow Python installations that were not installed by ArcGIS to access Arcpy functionality. A geoprocessing service can be accessed through the Python window in ArcMap, a script tool, or a stand-alone script. When the script is run as a script tool, arcpy is fully aware of the application (such as ArcMap) it was called from. For this I decided to create a custom tool in ArcMap which uses a python script to batch process the ASCII files in rasters and then merges these…. arcpy: Accessing parameters in a script tool The illustration below shows a script tool dialog box with three parameters: an input workspace, a clip feature class, and an output workspace. I have only demonstrated how to create an Anaconda Python installation that can import ArcPy. Writing messages in script tools When a tool is run, ArcPy is fully aware of the application it is called from, such as ArcMap or ArcCatalog. GIS 4653/5653: Spatial Programming and GIS. Adding a startup script in workbench. Learn how to create a map document object and access the properties and methods of that map document. overwriteOutput and arcpy. Python window. One of our users created a script tool which called out to a c++ library (DLL). Contribute to arcpy/sample-gp-tools development by creating an account on GitHub. The model tool is fairly simple. Recently, I had to process 400 tiles of LiDAR data and find a method that would allow beginners to GIS to achieve the same in the future. These (~20) tools were created as representative samples for how arcpy. We can use AddMessage()-function (see help) to send any kind of messages to the user who uses the Python tool that we have created and use from ArcGIS Toolbox. Arcpy AddIns & Command Line Tools. Note: Python has some capabilities to create user interface elements like dialog boxes but ESRI no longer supports having developers add extensions to ArcGIS that have complex user. Well, ArcPy isn't really designed for that approach. This instruction sheet will direct you to ArcGIS Desktop tools that can be used to convert to and from Shapefiles (SHP) and Google Earth files (KML). UC2015 - Technical Workshop - Python Map Automation: Introduction to arcpy. The following tutorial develops some basics for using the Arcpy library with Python. This is a very simple example, and obviously you could just run the out-of-the-box Buffer tool with similar results. Almost all script tools execute a Python script (. ArcPy - How do I run custom script tools within the console? How do I use my own tools in the same way as ArcGIS tools within ArcPy, for example: arcpy. When the script is run as a script tool, arcpy is fully aware of the application (such as ArcMap) it was called from. , the Multiple Ring Buffer tool) in edit mode. 0 - June 29, 2010 • Successor to arcgisscripting module • Create tools leveraging ArcGIS - In-Application Geoprocessing Tools and Scripting - REST Web Services - Standalone Python Programs • 1,000+ ArcPy-based Tools Included in ArcGIS 7. For example, create one type for water bodies and another for buildings. arcpy: Accessing parameters in a script tool The illustration below shows a script tool dialog box with three parameters: an input workspace, a clip feature class, and an output workspace. It comes with numerous new and powerful tools such as ArcPY which provides an interface for a developer to program within the ArcGIS ! Till ArcGIS 9. It loops through each polygon feature and splits it into whatever division was chosen. This script imports the arcpy module, assigns the feature class locations we specified in ModelBuilder to variables, and calls the Delete Rows geoprocessing tool. This might be particularly helpful when authoring large arcpy based scripts where GP tools are run a lot of times. Before we see how that works, let's take a minute to discuss the basic use of tools in ArcMap. Readers can thus learn the skill set needed to create custom tools. When using the Python window inside of ArcMap the module is automatically loaded, will be discussed in a future module. The user-supplied parameters make their way into the script with the arcpy. Post navigation ← Previous Next → A fix for 'script errors' when running tools in ArcToolbox. The majority of scripts will connect to and use geoprocessing services through ArcPy. The Field Calculator provides GIS users with a powerful way to efficiently edit attribute table field values. A geoprocessing service can be accessed through the Python window in ArcMap, a script tool, or a stand-alone script. You can create separate feature types and count within each type. Working with the search, update and insert cursors of ArcPy's Data Access Module (arcpy. This tool was created using Python, or more specifically ESRI's ArcPy module. scratchWorkspace, are available from ArcPy in your script tool. You'll do that in the next part of the lesson. Wednesday we will begin working with raster analysis in arcpy. If the coordinate system for a dataset is unknown or incorrect, you can use this tool to specify the correct coordinate system. Normally when you create a script tool, it will be backed with a script that runs a combination of tools and applies some logic that makes those tools uniquely useful. The ArcPy way. The tool outputs a scalar value as opposed to a dataset. A collection of add-in and command line tools for map production and automation. This book starts off with setting up your Python environment, demonstrates a complex ArcPy script tool with multiple iterations, illustrates data access module cursors, and explains how to use ArcPy Geometry classes. Within ArcGIS means you create a script tool inside a toolbox. path to enable Use geoprocessing objects and tools to simplify. During scripting and debugging, it is simplest to hard-code the function's input variables to verify that the function is working. We can use AddMessage()-function (see help) to send any kind of messages to the user who uses the Python tool that we have created and use from ArcGIS Toolbox. Using a geoprocessing service in Python scripts; ImportToolbox; ModelBuilder: migration to. When the script is run as a script tool, arcpy is fully aware of the. Related Information. It helps to eliminate tedious manual edits through the use of VBA Script Functions and Python Functions. This is typically a layer either in a shapefile or in ArcMap Tool Modify the script to do something not easily. Create a python script tool in ArcGIS, and combine it in Model builder. Hi, I'm not familiar with arcpy, but I can say that any arcpy method will not accept FME objects directly since there is no compatibility between arcpy and fmeobjects. Contribute to arcpy/sample-gp-tools development by creating an account on GitHub. To achieve this, do the following:. ListFields(). activeView from a script tool clears the layers in the data frame being made active. Creating a script tool for your script is easy, and there are many advantages to doing so. Basics for Geoprocessing with Python in ArcGIS 10. Code Sample CopyParameter example Copy input parameter to output parameter. One major effect of this is that you can write messages in Python and your messages automatically appear on the progress dialog box, the tool's result in the Results window, and the Python window. 0 are similar to later versions of ArcGIS Desktop, they are different products. 0 and Python Nick Santos, Josh Viers, and Anna Fryjoff-Hung Arcpy Interfaces – Script Tools. Secured First place for the final project competition at International Summer School, Wuhan University, China Created a web based tool working with a team of four to compare different map sources. Even users not proficient in Python scripting are able to harness the power of the Field…. Chandan was brought on to support / maintain this application and provide enhancements that are defined by Canada Post and customers. This tool automatically batch processes ArcMap documents, gathers information about the layers in those documents, and outputs that information as a comma-separated values (CSV. Using Python, this book will guide you from basic Python scripting to advanced ArcPy script tools. Surface (raster and TIN) creation and analysis. Spatial Placemarks are geographic locations that you can define and access later. The following are code examples for showing how to use arcpy. NIM066646 - Setting mxd. The script tools are divided into 3 categories: Cartography Tools, Export and Printing Tools, and MXD and LYR Management Tools. ArcPy also includes several functions not available as tools in ArcMap ArcPy has several sub‐modules with related sets of functions. Support for other scripting languages will go away – VBScript and JScriptbeing replaced by Python. Canada Post Neighbourhood Mailing™ is an ArcMap business web application developed by Innovapost that allows customer to create targeted mailing campaigns that get distributed by Canada Post. scratchWorkspace, are available from ArcPy in your script tool. Script Examples are available inside each program (Surfer, Grapher, MapViewer, and Voxler): In the program, go to Help | Contents to open the program help files. Is it possible to use ArcPy scripts outside of ArcGIS? On a computer with ArcGIS installed but inside of Python. GetParameterAsText() method. Settings made in the application, such as arcpy. ArcPy provides access to geoprocessing tools as well as additional functions, classes, and modules that allow you to create simple or complex workflows quickly and easily. Once you have installed the ARIS. Created a web based tool working with a team of four to compare different map sources. The ArcPy module is used to script these ArcGIS analyses, providing a productive way to perform geo-analyses and automate map production. The model tool is fairly simple. CopyParameter(0, 1). ! 1!! Exercise(5. Batch reprojection, or the reprojection of many datasets at once, is a task well suited to scripting. Converting KML (Google Earth) files to Shapefiles. Contains tools to record, restore, and reset layouts of data driven page (DDP) enabled mxds. "feature" in the context is an instance of fmeobjects. The key difference between using ArcPy in ArcMap (#1) or ArcPy in the Python environment (#2) is that in the first case your scripts cannot be saved natively. To learn more about parameters, see Understanding script tool parameters. See the complete profile on LinkedIn and discover Edgar's connections and jobs at similar companies. Use the Feature Counting Tool to count up to 5000 individual features in raster and vector data. sample arcpy and Python geoprocessing tools. Net script adds an extra Map Frame to the Layout View in ArcMap. Its a contract to hire position. When the script is run as a script tool, the arcpy object you import is fully aware of the application it was called from, such as ArcMap. I will do my best to fix any problems that you encounter. Annotation, Block, Image, Layer, Polyline, Table tools and more. arcpy: Accessing parameters in a script tool The illustration below shows a script tool dialog box with three parameters: an input workspace, a clip feature class, and an output workspace. During scripting and debugging, it is simplest to hard-code the function's input variables to verify that the function is working. The solution is to rewrite the tools in a. With version 9. For example, you may have a script that updates an existing table in a known workspace. If you want to see examples of Python scripts, you can open any of the system script tools (e. When the script is run as a script tool, arcpy is fully aware of the. This book will guide you from basic Python scripting to advanced ArcPy script tools. Within ArcGIS means you create a script tool inside a toolbox. Solution or Workaround. When the tool is executed, the parameter values are sent to your tool's source code. Even users not proficient in Python scripting are able to harness the power of the Field…. TeachMeGIS with Jennifer Harrison. sample arcpy and Python geoprocessing tools. Assignment: Batch re-projection tool Arcpy When the raw datasets are obtained from third parties in other projections, these datasets then need to be reprojected into the target projection. BUG-000083434 Creating a geometric network on RHEL 6. Describe on a layer created in ArcCatalog or ArcMap to In ArcGIS 9. On my computer, the scripts posted in Part 2 all take about 300 seconds to execute if run from the command line, and about 400 seconds if run as a tool within ArcMap or ArcCatalog. This tool automatically batch processes ArcMap documents, gathers information about the layers in those documents, and outputs that information as a comma-separated values (CSV. I need to run this tool multiple times with the output of one run being one of the inputs of the next run. Get Count, for example, outputs a long (the number of records). View Edgar Rodríguez’s profile on LinkedIn, the world's largest professional community. Naturally one can go back and forth, but that is a lesson for. The main drawback to using the Python environment (case #2) is that you have less flexibility with the ArcMap program. Code Sample CopyParameter example Copy input parameter to output parameter. - Python scripts can be run as custom tools in ArcMap. View Aigerim Mussayeva’s profile on LinkedIn, the world's largest professional community. This tool was created using Python, or more specifically ESRI’s ArcPy module. From the Developer Blog; Jun 25, 2019 Using Jupyter Notebook for AGRC Collaboration. Using Python, this book will guide you from basic Python scripting to advanced ArcPy script tools. Thousands of users worldwide successfully apply XTools Pro functionality solving different GIS tasks in their everyday work. You will have to build a client from scratch with Python code to make use of this. In the meantime, please let me know if you do run into problems or are suspicious of the output. Note: Because the script now runs as a tool, it inherits the environment settings and geoprocessing options of the current ArcMap document. This post describes how to do each of these as well as some general considerations. This is a very simple example, and obviously you could just run the out-of-the-box Buffer tool with similar results. Zandbergen] on Amazon. Spatial Placemarks are geographic locations that you can define and access later. Almost all tools have parameters, and you set their values on the tool dialog box or within a script. Now we are ready to implement the script code as a tool into ArcMap. mxd (Project) or in the Normal. The tool outputs a scalar value as opposed to a dataset. Posted by: Ian // ArcPy, Scripts // arcpy, python, script, toolbox // April 6, 2014 Post navigation ← ArcGIS Toolbox - Create a Custom Polygon Grid with ArcPy ArcGIS Toolbox - Shorten Polylines by Percentage or Distance with ArcPy →. The arcpy site package is only available inside the scope of this function. Creating Custom Tools with Python Scripts. , the Multiple Ring Buffer tool) in edit mode. import arcpy Syntax AddToolbox (input_file, {module_name}) Data Parameter Explanation Type input_file The geoprocessing toolbox to be added to the ArcPy site package. Thousands of users worldwide successfully apply XTools Pro functionality solving different GIS tasks in their everyday work. This tool was created using Python, or more specifically ESRI's ArcPy module. You can then add the Tessellation toolbox to ArcMap or browse to the toolbox in ArcCatalog. There's another benefit to this example, though. They are extracted from open source Python projects. Describe on a layer created in ArcCatalog or. ArcPy provides access to geoprocessing tools as well as additional functions, classes, and modules that allow you to create simple or complex workflows quickly and easily. mxd (Project) or in the Normal. To learn about writing scripts, the ArcGIS Desktop Help topic Geoprocessing > Writing geoprocessing scripts is a good place to start. scratchWorkspace , are available from the geoprocessing object you create. Using Python to Solve Problems by Creating Custom Tools creating custom tools. Python Toolbox Tools. It is also possible to allow Python installations that were not installed by ArcGIS to access Arcpy functionality. Spatial data conversion, analysis, topological cleaning, sampling. The ArcPy way. The following tutorial develops some basics for using the Arcpy library with Python. The Solution Although this example will work with one ArcMap document, the Python script will be able to process all ArcMap documents in a directory and any subdirectories it contains. Web Developer toolbar for firebox; Above are just sample tools. Now we are ready to implement the script code as a tool into ArcMap. This is an offline reference for the ArcPy. The following are code examples for showing how to use arcpy. Once the tool is (essentially) the way you want it, create the toolbox and script tool within ArcMap. Batch reprojection, or the reprojection of many datasets at once, is a task well suited to scripting. Uses Arcpy to iterate through all feature classes in a feature dataset to create and populate new fields. Open the program Automation book, near the bottom of the list. I have a script called myScript. Beginning GIS Programming Using ArcGIS 10. It is also possible to allow Python installations that were not installed by ArcGIS to access Arcpy functionality. In the Catalog window, right-click on "My Toolboxes" > New > Toolbox. This tool was created using Python, or more specifically ESRI’s ArcPy module. The majority of scripts will connect to and use geoprocessing services through ArcPy. Your tool reads these values and proceeds with its work. This book starts off with setting up your Python environment, demonstrates a complex ArcPy script tool with multiple iterations, illustrates data access module cursors, and explains how to use ArcPy Geometry classes. I am trying to modify the first script and convert it into a custom ArcGIS tool. Thank you to all those who have used my tools over the years! Jeff Jenness. Note: Because the script now runs as a tool, it inherits the environment settings and geoprocessing options of the current ArcMap document. The extension the tools are in is not checked out in the script. Uses Arcpy to iterate through all feature classes in a feature dataset to create and populate new fields. Net Scripting in the customize menu to start making your custom code. Its a contract to hire position. 3, the ToolValidator class was added to give you all the capabilities of a system tool. The second edition of the book focuses on new Python tools, such as the ArcGIS API for Python. GetParameterAsText() where the index value of the parameter is passed to the function (where number 0 is the first parameter). I then developed a second script to decompress a whole folder of zip files, and a third script for zipping a feature class. The ArcPy way. The majority of scripts will connect to and use geoprocessing services through ArcPy. A geoprocessing service can be accessed through the Python window in ArcMap, a script tool, or a stand-alone script. While the interface and names of ArcMap 8. For example, you may have a script that updates an existing table in a known workspace. To make running scripts easier you may wish to add this location to your system Path, either temporarily or permanently.