trying to get a YAML document to parse into python dictionary object that I can manipulate. I installed pip install pyyaml.
import yaml
yamlstring = "some: var \n another: 3"
type(yaml.load(yamlstring))
>> str
to my surprise it returns a string not a dictionary! what did I do wrong here?
stras output where I expect a scanner.Error. At least Python 2.7 and 3.4 give that. What system are your running, which Python version.