1

I know the console can output a XML or a JSON format output by using YQL.

But When I want to save the output file, I do it in my python script by using follow codes:

import yql
query = 'blablabla'
y = yql.Public()
result = y.execute(query)

and the result is a dict but I want to save it in a file with the XML format. How can I make it?

thanks!

4

1 回答 1

0

它在TODO 列表中

你可以分叉代码。结果格式在以下类中定义:

并作为返回值引用:

于 2013-09-09T19:00:35.270 回答