(path)
Return the module name for a given file, or None.
Return the module name for a given file, or None.
Return the module name for a given file or None .
def getmodulename(path):
    """Return the module name for a given file, or None."""
    info = getmoduleinfo(path)
    if info: return info[0]
def getmodulename ( path ) : info = getmoduleinfo ( path ) if info : return info [ 0 ]