Instructions provided describe how to enable color highlighting of Python toolboxes (PYT files) in PyScripter. PyScripter is a Python integrated development environment (IDE) for Windows.
Python toolboxes (.pyt) are geoprocessing toolboxes that are created entirely in Python. Although these tools are recognized by ArcGIS Software as Python scripts, they may or may not be treated as Python scripts within various Python IDEs. To ensure that these files are recognized by a Python IDE it may be necessary to include the .pyt extension in the settings for the IDE.