Python Blog - Page 4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Latest Activity

(198 Posts)
DanPatterson
MVP Esteemed Contributor

Complaining about field calculations?  Learn some new tools.

Read more...

more
4 0 1,067
DanPatterson
MVP Esteemed Contributor

Want another documentation tip?

Read more...

more
0 0 748
DanPatterson
MVP Esteemed Contributor

you can install arcpy by itself in a clone.... surprise!  the luggage it carries

Read more...

more
0 0 1,529
DanPatterson
MVP Esteemed Contributor

Got a tricky problem... watch closely

Read more...

more
0 3 3,062
DanPatterson
MVP Esteemed Contributor

I know... I know... too busy to do it, but when you do...

Read more...

more
0 0 981
AndresCastillo
MVP Alum


Esri Technical Support has an article with respect to running python scripts using the 'relative' path that contains the ArcCatalog connection name (i.e 'Database Connections/MyDatabaseName.sde/), outside of an ArcGIS Environment.
 
For example, running from Windows Command Prompt, or Task Scheduler.
 
 
FAQ: Why am I getting "Error 000732, < dataset name > does not exist or is not supported", in a script run outside the ArcGIS environment?
 
 
There is a caveat, in that:
1
as long as you specify the python installation that comes with the ArcGIS install
(C:\Python27\ArcGIS10.4\python.exe python), and
2
also the the sde connection file is stored in the 'Database Connections/MyDatabaseName.sde/ directory (aka the user profile in which the process will be run: C:\Users\<userName>\AppData\Roaming\Esri\Desktop10.4\ArcCatalog), the script will run.
 
This is because that python install is technically part of the ArcGIS Environment.

more
0 1 1,827
DanPatterson
MVP Esteemed Contributor

Breaking down barriers between neighbors... maybe life can learn something from geometry said the laughing man

 

 

Read more...

more
0 1 2,139
DanPatterson
MVP Esteemed Contributor

nothing is better than formatted code in your posts ...

Read more...

more
13 2 3,340
DanPatterson
MVP Esteemed Contributor

Densify polylines and polygon boundaries... FreeTools

Read more...

more
1 0 2,119
DanPatterson
MVP Esteemed Contributor

Why crank up ArcGIS Pro to see your Geometry... can't visualize it in your head? Python to the rescue...

Read more...

more
1 0 1,339
229 Subscribers
Labels