- ArcPy and ArcGIS(Second Edition)
- Silas Toms Dara O'Beirne
- 67字
- 2025-04-04 19:02:02
Comments
Comments in Python are used to add notes within a script. They are marked by a pound sign, and are ignored by the Python interpreter when the script is run. Comments are useful for explaining what a code block does when it is executed, or for any other helpful note that a script author would like to make for future script users:
#This is a comment