How to read the BytesIO in python for a yaml file?

后端 未结 0 353
渐次进展
渐次进展 2020-12-04 09:46

I have created a BytesIO object for yaml file as below:

config = (b\'parser\\n\'
            b\'\\tsheet: Requirements\')
data = dict(file=(io.BytesIO(config)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题