nodemap.py
def load_from_file(path):
    """ Load nodemap info from a file.
    
        Returns a nested datastructure in normalised form.
    """
    with open(path) as f:
        nodemap = load(f.read(), Loader=Loader)
        deep_sort(nodemap)
        # to_int() not needed as file will have been saved with ints
    return nodemap
 Load nodemap info from a file.
    
        Returns a nested datastructure in normalised form.
    
Load nodemap info from a file.
Returns a nested datastructure in normalised form.
Load nodemap info from a file . Returns a nested datastructure in normalised form .
def load_from_file(path):
    with open(path) as f:
        nodemap = load(f.read(), Loader=Loader)
        deep_sort(nodemap)
    return nodemap
def load_from_file ( path ) : with open ( path ) as f : nodemap = load ( f . read ( ) , Loader = Loader ) deep_sort ( nodemap ) return nodemap
Load nodemap info from a file.
Load nodemap info from a file .
""" Load nodemap info from a file.
    
        Returns a nested datastructure in normalised form.
    """ # to_int() not needed as file will have been saved with ints
path