Accessing files in a personal geodatabase in pyton

650
1
07-07-2013 05:10 PM
JulianKatz-Samuels
New Contributor
Hi,

I'm trying to access files in a geodatabase in python, but python returns the error that the file doesn't exist.  In a way, this makes sense since when I look at the folder in my finder window, I can't actually access the files. Is there a way to access these files in python? I've attached some screen shots to make the problem clearer.

Thanks,
Julian
0 Kudos
1 Reply
ModyBuchbinder
Esri Regular Contributor
You must access geographic layers in mdb using ESRI ArcPy and not general python IO commands.
You can open a cursor to get information from this layer.
Check this: http://resources.arcgis.com/en/help/main/10.1/018w/018w00000011000000.htm
Just replace the "gdb" with "mdb"

Have Fun
Mody
0 Kudos