def getmodulename(path):
    info = getmoduleinfo(path)
    if info: return info[0]
Return the module name for a given file, or None.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/getmodulename