CodeQL library for Python
codeql/python-all 0.11.13 (changelog, source)
Search

Predicate moduleNameFromFile

Gets the name of the module that c resolves to, if any.

Import path

import python
string moduleNameFromFile(Container c)