<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: workspace as network drive in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527628#M41317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Forgot to tell you I am using the insert cursor method and was getting this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; "TypeError: sequence size must match size of the row"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just got it to work, I needed to use arcpy.Describe before appending to my list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; workspace = r"H:/LIBTest"
&amp;gt;&amp;gt;&amp;gt; newtable = r"H:/TableList.gdb/GISLibrary"
&amp;gt;&amp;gt;&amp;gt; list = []
&amp;gt;&amp;gt;&amp;gt; for dirpath, dirnames, filenames in arcpy.da.Walk(workspace):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name])
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; with arcpy.da.InsertCursor(newtable, ['Path', 'FileName']) as insert:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
... 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:59:04 GMT</pubDate>
    <dc:creator>AmyKlug</dc:creator>
    <dc:date>2021-12-11T22:59:04Z</dc:date>
    <item>
      <title>workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527622#M41311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to set the the workspace to a network drive and if so how would you write it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using arcpy.da.walk and workspace = "U:/" ,&amp;nbsp; it froze up my computer...or it was just really slow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 19:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527622#M41311</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-07-30T19:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527623#M41312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, I have done it a couple ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming the networked computer is named "server1" and has a share named "U" and/or is mapped to drive U:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy

workspace = arcpy.env.workspace = r"U:"&amp;nbsp;&amp;nbsp;&amp;nbsp; ## don't put the slash at the end.....
workspace = arcpy.env.workspace = r"\\server1\U"



&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;either works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Keep in mind, though, setting it to the base level, by default, will drill down into all directories in there as well, so it can take a long time if there is much there.&amp;nbsp; Better to set it to a working folder on the drive.&amp;nbsp; Mine is still running as it is categorizing my entire drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;When topdown is True, the dirnames list can be modified in-place, and Walk() will only recurse into the subworkspaces whose names remain in dirnames. This can be used to limit the search, impose a specific order of visiting, or even to inform Walk() about directories the caller creates or renames before it resumes Walk() again. Modifying dirnames when topdown is False is ineffective, because in bottom-up mode the workspaces in dirnames are generated before dirpath itself is generated.&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527623#M41312</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T22:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527624#M41313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am interested in doing something similar.&amp;nbsp; However, my reference needs to be to a SQL Enterprise GDB feature class within a feature dataset.&amp;nbsp; The server is somcty06, FDS is named Cadastre and the FC is Parcels.&amp;nbsp; I am trying to create a parcel search tool available to all of my users that will require entering a municipal name from a drop down list then freely entering text for the block and lot numbers.&amp;nbsp; The tool should then zoom to the selected parcel or return No Parcel Found message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 13:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527624#M41313</guid>
      <dc:creator>JamesGirvan</dc:creator>
      <dc:date>2013-07-31T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527625#M41314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would go into ArcCatalog, Database Connections, Add Database Connection and set it up to your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can reference as such:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
indatabase = "Database Connections\\Connection to RCES_P.sde\\SIS_ADM.IMAGES"&amp;nbsp; # can use the database connection

indatabase = "C:\\Users\\rkzufelt\\AppData\\Roaming\\ESRI\\Desktop10.1\\ArcCatalog\\Connection to RCES_P.sde\\ARCUPDATE.MAPS"&amp;nbsp; #or the database connection file



&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527625#M41314</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T22:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527626#M41315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sure, I have done it a couple ways:&lt;BR /&gt;&lt;BR /&gt;Assuming the networked computer is named "server1" and has a share named "U" and/or is mapped to drive U:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy

workspace = arcpy.env.workspace = r"U:"&amp;nbsp;&amp;nbsp;&amp;nbsp; ## don't put the slash at the end.....
workspace = arcpy.env.workspace = r"\\server1\U"



&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;either works.&lt;BR /&gt;&lt;BR /&gt;Keep in mind, though, setting it to the base level, by default, will drill down into all directories in there as well, so it can take a long time if there is much there.&amp;nbsp; Better to set it to a working folder on the drive.&amp;nbsp; Mine is still running as it is categorizing my entire drive.&lt;BR /&gt;&lt;BR /&gt;R_&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Yes..Unfortunaltey I will have to drill down into all directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question..... I have been trying to write my results to a geodatabase table and keep getting an error that the size of the cell and path form my list aren't the same size. I have had sucess writing to csv.....but I'm pretty sure there should be a way to write to GDB table?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527626#M41315</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2021-12-11T22:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527627#M41316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To write to the FGDB table you can do it several ways.&amp;nbsp; If you are modifying data in an existing row, you could use updateCursor, or calculatefield. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are adding new rows to the table, you want InsertCursor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000014000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000014000000&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004m000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000004m000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, keep in mind that the da.walk with topdown set as true, you can remove any of the directories from the walk list.&amp;nbsp; you say you need to drill down, but if you don't need to drill into ALL subdirs, this can be done with da.walk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bottom example here &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000023000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000023000000&lt;/A&gt;&lt;SPAN&gt; shows that with the dirnames.remove statement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 16:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527627#M41316</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-31T16:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527628#M41317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Forgot to tell you I am using the insert cursor method and was getting this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; "TypeError: sequence size must match size of the row"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just got it to work, I needed to use arcpy.Describe before appending to my list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; workspace = r"H:/LIBTest"
&amp;gt;&amp;gt;&amp;gt; newtable = r"H:/TableList.gdb/GISLibrary"
&amp;gt;&amp;gt;&amp;gt; list = []
&amp;gt;&amp;gt;&amp;gt; for dirpath, dirnames, filenames in arcpy.da.Walk(workspace):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name])
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; with arcpy.da.InsertCursor(newtable, ['Path', 'FileName']) as insert:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
... 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527628#M41317</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2021-12-11T22:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527629#M41318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I keep getting errors that certain tools in a toolbox don't exist. I can't get past the first one which is the "con" tool in the spatial analyst toolbox so I made sure I had spatial analyst extension checked to no avail. Doesn't seem like that should make a difference?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 18:52:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527629#M41318</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-07-31T18:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527630#M41319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, you would just get a not licesed error if that were the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have too much security, you will get unable to run errors as they rely on ActiveX being enabled now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is not finding it, even after a re-boot of the computer, you may need a re-install.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it not find them in ArcMap or ArcCatalog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a weird one, as if it is showing you the list under Conditional, then it has to be seeing the Spatial Analyst Tools.tbx...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 19:34:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527630#M41319</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-31T19:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527631#M41320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just ran the tool on my C drive and it's telling me another file does not exist (a table in a access .mdb). Is there a way to write in the code for it to continue on if it can't find the file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: The access table was linked and does not exist in the parent database&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am going to try running in ArcCatalog next. The folder the code is failing on is an archive folder and contains toolboxes from Arc 9.3 but "con" exists in both versions so I don't know. I would still like to skip those errors, not sure if try/except would work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 20:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527631#M41320</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-07-31T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527632#M41321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First, are you running the toolbox tool, or running code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If coding, there is normally a way to tell it to move on if it can't find the file.&amp;nbsp; However, since you have to tell it what file(s) to use, normally, you just don't pass a non-existent file to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, not sure why you are getting that error as the only valid inputs for the con tool are rasters, so it should never be looking for a table, yet alone in an mdb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 20:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527632#M41321</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-31T20:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527633#M41322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am creating a table of filenames, paths and data type using arcpy.da.Walk in a script tool. When it gets to the "con" tool it says it can't find it (even though it's there and usable) and the code quits. I just tried it in ArcCatalog and same result. Then copied the "con" tool from the 10.1 system toolbox into another toolbox, ran the script...... it failed. When I deleted the "con" tool from the toolbox, the script worked fine. I tested it with some other spatial analyst tools and had no problems. I would really like to have my code skip the data it can't find. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.da.Walk thinks the MDB's are persoanl GDB's I guess. I edited my post above that the table it could not find was linked and the tool could not find it because it had been deleted from the original database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 21:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527633#M41322</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-07-31T21:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527634#M41323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could put something like this in there:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
if not arcpy.Exists(filename):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this way, if the filename doesn't exist, it will move on to the next iteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, keep in mind that when using da.walk, the actuall path to and including the filename is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;os.path.join(dirpath,filename)&amp;nbsp;&amp;nbsp; not just "filename", especially important if the file is not in your set env.workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there are some posts here that also show how to code for ( if not in something, then do something) &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/89638-List-features-in-multiple-workspaces-then-convert-to-point-BUT-ignore-some-paths" rel="nofollow noopener noreferrer" target="_blank"&gt;http://forums.arcgis.com/threads/89638-List-features-in-multiple-workspaces-then-convert-to-point-BUT-ignore-some-paths&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; that might come in handy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as far as the script tool issues, can't help you there, I do all my stuff stand alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527634#M41323</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T22:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527635#M41324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Code gets hung up using stand-alone too, it just doesn't recognize the "con" tool for some reason. I will try .Exists&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 22:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527635#M41324</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-07-31T22:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527636#M41325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Like I said, I don't make script tools, but I do use con now and then, I just use arcpy for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000005000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000005000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 22:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527636#M41325</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-07-31T22:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527637#M41326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your suggestion to use .Exist worked perfectly.........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still very curious why it errored that "con" does not exist, we may never know &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The almost there product:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import os
workspace = r"U:"
newtable = r"H:/TableList.gdb/GISLibrary"
list = []
for dirpath, dirnames, filenames in arcpy.da.Walk(workspace):
&amp;nbsp;&amp;nbsp;&amp;nbsp; if not arcpy.Exists(filenames):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name, descr.dataType])
with arcpy.da.InsertCursor(newtable, ['Path', 'FileName', 'Type']) as insert:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527637#M41326</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2021-12-11T22:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527638#M41327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your suggestion to use .Exist worked perfectly.........&lt;BR /&gt;&lt;BR /&gt;Still very curious why it errored that "con" does not exist, we may never know &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The final product:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import os
workspace = r"U:"
newtable = r"H:/TableList.gdb/GISLibrary"
list = []
for dirpath, dirnames, filenames in arcpy.da.Walk(workspace):
&amp;nbsp;&amp;nbsp;&amp;nbsp; if not arcpy.Exists(filenames):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name, descr.dataType])
with arcpy.da.InsertCursor(newtable, ['Path', 'FileName', 'Type']) as insert:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code above actually did not work the next day....but this should be correct (although this code is now saying all tools don't exist, might be I need to use something different than arcpy.Exists(filename) or how I defined the environment/workspace or setting my parameter as a workspace but still working that out) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import os
p = arcpy.GetParameterAsText(0)
arcpy.env.workspace = p
newtable = r"H:/TableList.gdb/GISLibrary"
list = []
for dirpath, dirnames, filenames in arcpy.da.Walk(p):
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if arcpy.Exists(filename):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("adding file to list")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name, descr.dataType])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('File&amp;nbsp;&amp;nbsp; ' + filename + 'does not exist')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue 
with arcpy.da.InsertCursor(newtable, ['Path', 'FileName', 'Type']) as insert:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: this code only works when i chose a geodatabase as input p. if I used a folder (that contained geodatabases) as input all of my feature classes were tagged as "do not exist)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527638#M41327</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2021-12-11T22:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527639#M41328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;import arcpy import os p = arcpy.GetParameterAsText(0) arcpy.env.workspace = p newtable = r"H:/TableList.gdb/GISLibrary" list = [] for dirpath, dirnames, filenames in arcpy.da.Walk(p): &amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if arcpy.Exists(os.path.join(dirpath, filename)): &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("adding file to list") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename)) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name, descr.dataType]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('File&amp;nbsp;&amp;nbsp; ' + filename + 'does not exist') &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue&amp;nbsp; with arcpy.da.InsertCursor(newtable, ['Path', 'FileName', 'Type']) as insert: &amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; EDIT: this code only works when i chose a geodatabase as input p. if I used a folder (that contained geodatabases) as input all of my feature classes were tagged as "do not exist) &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suspect the p variable is not getting passed correctly as the da.walk works fine for FGDB or the folder. Especially since the way you have it, it will only evaluate to False if you end up with an empty filenames list, which means that either p is the wrong path, or there is NODATA in there at all. Basically, da.walk makes a list, then you iterate through it and say "This file exists, so I put it in my list, if this file doesn't exist, then: so, the only way this would not be true is if the list is empty, so deleting that line here would have the same effect (minus the error of course on empty list). Also, the continue statement you have is not needed. Basically, it is the last line in the for loop. So, you are telling it, that when it is finished will all the code for the first item in the list, continue to the next. this is the default behaviour. Don't think it would make a difference, but possibly telling it to skip one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;perhaps you need to set p = to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;p = str(arcpy.GetParameterAsText(0)) or something. Like i said, don't tool script tools, so not sure how a single parameter gets passed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can print p&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and type(p) to make sure it is a string and the value is that actual path/name to the folder you want to walk through.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; The code above actually did not work the next day....but this should be correct (although this code is now saying all tools don't exist, might be I need to use something different than arcpy.Exists(filename) or how I defined the environment/workspace or setting my parameter as a workspace but still working that out) &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for arcpy.Exists:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; Tests for the existence of feature classes, tables, datasets, shapefiles, workspaces, layers, and files in the current workspace&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't think it was intended to look for "Tools", of course, a toolbox is a .tbx "file" so it should find them. However, I'm a little confused here. I don't do script tools, but I know that you have to tell the script what tool to use, where the toolbox is, etc. and I see no reference what so ever in your script to any tools or toolboxes. where are you defining them, and where are you calling the con tool that is giving you the error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The spatial analyst toolbox should be here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:\program files\arcgis\desktop10.1\ArcToolbox\Toolboxes\Spatial Analyst Tools.tbx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shoot, just saw something else going on here. Try the change in red above. you are checking to see if a file exists, da.walk reports filenames and directories sepratly, so you need to pass the path and name to locate the file. Just like in your describe statement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527639#M41328</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-08-01T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527640#M41329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried using: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if arcpy.Exists(os.path.join(dirpath, filename)):&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an earlier version before the code was this far along. But this REALLY did the trick. It only errors the "con" tool now (very strange). Using a parameter with a script tool I can just select the network drive.....might have to do more than one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here it is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
import os
p = arcpy.GetParameterAsText(0)
arcpy.env.workspace = p
newtable = r"H:/TableList.gdb/GISLibrary"
list = []
for dirpath, dirnames, filenames in arcpy.da.Walk(p):
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if arcpy.Exists(os.path.join(dirpath, filename)):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('adding ' + os.path.join(dirpath, filename)&amp;nbsp; + ' to list............')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descr = arcpy.Describe(os.path.join(dirpath, filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; list.append([descr.catalogPath, descr.name, descr.dataType])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('ERROR: ' + os.path.join(dirpath, filename) + ' does not exist')
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue 
with arcpy.da.InsertCursor(newtable, ['Path', 'FileName', 'Type']) as insert:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for f in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert.insertRow(f)
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:59:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527640#M41329</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2021-12-11T22:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: workspace as network drive</title>
      <link>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527641#M41330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Don't think it was intended to look for "Tools", of course, a toolbox is a .tbx "file" so it should find them.&amp;nbsp; However, I'm a little confused here.&amp;nbsp; I don't do script tools, but I know that you have to tell the script what tool to use, where the toolbox is, etc. and I see no reference what so ever in your script to any tools or toolboxes.&amp;nbsp; where are you defining them, and where are you calling the con tool that is giving you the error?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;someone had made a copy of another server and put it on the U drive of the server I am cataloging, so we have a toolbox in the U(current server):/otherserver/......../program files/arcgis/........./toolbox. arcpy.da.walk does not recognize that tool for some reason. I tried the code on other toolboxes and same result. What is happening is that it is not writing the CON tool to my library table like it does with the other tools, i am not trying to use the con tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 19:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/workspace-as-network-drive/m-p/527641#M41330</guid>
      <dc:creator>AmyKlug</dc:creator>
      <dc:date>2013-08-01T19:53:47Z</dc:date>
    </item>
  </channel>
</rss>

