Best way to access ArcPro 'Databases' folder with ArcPy?

07-29-2020 07:09 PM
New Contributor III

In Arcpy, is there a shortcut method for database connection strings to refer to the Databases folder within a ArcPro project?

For example, I have multiple databases in my Databases folder.  Is there a shortcut path I can specify in ArcPy (e.g. Databases/fgdb2.gdb)?  Or do I need to specify the full path (e.g. c:\arcgis\myproject\fgdb2.gdb)? 

Is there a better method to refer to the Databases folder?

0 Kudos
0 Replies