

When a quoted string is found in the script, the test for data existence proceeds as follows:
Webtools project how to#
How to construct paths to project data and how it is foundĪn important part of many Python scripts, is the proper construction of paths referencing data. If you are unfamiliar with Python, ArcPy, or script tools, skip to the Get started with Python, ArcPy, and script tools section below for a list of useful topics.

How imported modules are found and made available for tool execution.
_024.png)
How to construct paths to project data and how it is found.In this case, you may find this topic helpful as it covers the following scenarios: However, if you are encountering problems, it may be due to your script using a lot of project data or using import statements to import Python modules that you developed. Most Python script tools that execute successfully on your computer will publish and execute successfully as a web tool-you do not have to modify your script in any way.
