0

I basically want to do something like:

if my_fgdb has data type "tables"
then do this

A similar function I know of is something like .startswith("xx"), so something similar to that like .typeis("tables")?

  • 2
    That would be arcpy.Exists(tname), with a check of os.path.dirname(tname).endswith('.gdb'). arcpy.Describe could also be used. – Vince Jul 5 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.