QL for Python

The following tutorials and worked examples are designed to help you learn how to write effective and efficient QL queries for Python projects. You should work through these topics in the order displayed.

Other resources

  • For examples of how to query common Python elements, see the Python QL cookbook
  • For the queries used in LGTM, display a Python query and click Open in query console to see the QL code used to find alerts
  • For more information about the Python QL library see the QL library for Python.