suebavin

Code for connection login/password

Discussion created by suebavin on Feb 6, 2013
Latest reply on Feb 12, 2013 by suebavin
Hi Python users

I am new to python.  I created a basic select/buffer/union/disolve type script to extract shp files relating to a specific attribute from within a number of sde line features.  So far it does pretty much what I expected and I have big plans to develop it further.

However... one big problem is that it seems each time it goes to the sde data source (which is very often) a pop up asks for a spatial database connection login and password... this means I can't leave it to run overnight, or even by itself during the day if I am not at my desk, as if I don't enter the login/pwd the script doesn't progress.

Is there code I can add that enables connection access as many times as is required for the entire script to run?

Thanks.

SB

Outcomes