Can I use Python scripting to access and display information about footprints in a KiCad library?
Yes, Python scripting can be used to access and display information about footprints in a KiCad library. The script provided reads the '/usr/share/kicad/modules/Sockets.pretty' library and prints out information for each footprint, including its reference, value, description, and pad details:

```python
#!/usr/bin/python

from pcbnew import *

libpath = "/usr/share/kicad/modules/Sockets.pretty"
print ">> enumerate footprints, pads of",libpath

# Script for loading the library and accessing footprint information
# ... (rest of the script)

for name in list_of_footprints:
    fp = plugin.FootprintLoad(libpath,name)
    # ... (print details for each footprint)
```

This method is particularly helpful for reviewing or auditing the contents of a footprint library, useful in component selection and PCB design.