AnsweredAssumed Answered

arcpy.ParseTableName returning null

Question asked by sak@vejle.dk on Sep 3, 2014
Latest reply on Sep 3, 2014 by ncelik

I have this very simpel script

 

import arcpy, os

from arcpy import env

 

adr =r"\\gisbatch\servere\GIS-DB\GISEDIT\ADRESSE@GISEDIT.sde\GISDIST.ADRESSE.ENHED_ADR_BBR"

env.workspace = os.path.dirname(adr)

print arcpy.ParseTableName(os.path.basename(adr))

 

I had expected this reply "GISDIST, ADRESSE, ENHED_ADR_BBR"

But I get this "(null), (null), GISDIST.ADRESSE.ENHED_ADR_BBR"

 

What do I do wrong or if then, what is the purpose with the tool.

 

Thanks

 

Sebastian

Outcomes