Skip to content

Instantly share code, notes, and snippets.

@P4
P4 / create_sde_connection.py
Created October 5, 2016 22:14 — forked from odoe/create_sde_connection.py
Arcpy script to add data to mxd and publish to ArcGIS server without ArcMap
'''
Created on Feb 24, 2011
The purpose of this script is to create the SDE connection file needed to connect to your SDE
@author: rrubalcava
'''
import os, arcpy
class CreateSDEConnection: