CodeQL library for Python
codeql/python-all 1.0.5-dev (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)