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