I'm looking getting familiar with using ArcPy scripting within ArcMap to automate some common requirements (buffering, etc), however have some queries on how this is all set up. I'm running Arc 10.2 for Desktop with Python 2.7 installed at C:\Python27\ArcGIS10.2 (I also have Py Ver 3 as well).
Can someone enlighten me in a few words on difference between, say, arcpy.analysis.Buffer and arcpy.Buffer_analysis and where the applicable scripts reside and how they work. I've found the analysis.py script at Program Files\ArcGIS\Desktop10.2\arcpy\arcpy\Geoprocessing which contains the Buffer class within the script and this would run. I assume this essentially sits behind the ArcToolbox\Analysis\Proximity\Buffer tool. However the Buffer_analysis also comes up as an option when I type but cannot find where this sits. I know sometimes different versions of the programs have changes.
I have had a look at a few answers on this site which discusses this general topic and some of the issues.