import yaml
      
      with open(path, 'r') as stream:
        return yaml.load(stream, Loader=yaml.BaseLoader)
      
      Python language logo

      Load YAML file

      yaml
      Python public recipes

      Load a YAML file and return the data

      Shortcut: yaml.load

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.